You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Xu Shao Hong (Jira)" <ji...@apache.org> on 2022/07/07 11:20:00 UTC

[jira] [Created] (RATIS-1617) Concurrent issue on LogSegmentList

Xu Shao Hong created RATIS-1617:
-----------------------------------

             Summary: Concurrent issue on LogSegmentList
                 Key: RATIS-1617
                 URL: https://issues.apache.org/jira/browse/RATIS-1617
             Project: Ratis
          Issue Type: Bug
            Reporter: Xu Shao Hong
            Assignee: Xu Shao Hong
         Attachments: image-2022-07-07-19-12-54-335.png

Some operations to closdSegments need to be serial, but they are not protected by the lock. 

There is a case that may lead to IndexOutOfBoundsException when the segments are purged simultaneously. 

See the attachment.



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