You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "yuuka (Jira)" <ji...@apache.org> on 2024/10/17 14:36:00 UTC

[jira] [Created] (RATIS-2175) RaftLogTruncateTests.runTestLogTruncate failed due to concurrency problem

yuuka created RATIS-2175:
----------------------------

             Summary: RaftLogTruncateTests.runTestLogTruncate failed due to concurrency problem
                 Key: RATIS-2175
                 URL: https://issues.apache.org/jira/browse/RATIS-2175
             Project: Ratis
          Issue Type: Bug
            Reporter: yuuka
         Attachments: image-2024-10-17-22-34-40-000.png, image-2024-10-17-22-35-25-401.png

There may be concurrency problem in the testTruncateLog unit test.
!image-2024-10-17-22-34-40-000.png!
 
In this test, s3 applying logEntry to stateMachine  may lag majority servers.
 
So when we execute assertEmptyTransactionMap in main function, the transactionMap of s3 map not be empty.
 
!image-2024-10-17-22-35-25-401.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)