You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Aravindan Vijayan (Jira)" <ji...@apache.org> on 2020/10/09 19:54:00 UTC

[jira] [Created] (RATIS-1088) SegmentedRaftLogWorker#closeLogSegment should also roll the open segment maintained in the cache.

Aravindan Vijayan created RATIS-1088:
----------------------------------------

             Summary: SegmentedRaftLogWorker#closeLogSegment should also roll the open segment maintained in the cache.
                 Key: RATIS-1088
                 URL: https://issues.apache.org/jira/browse/RATIS-1088
             Project: Ratis
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Aravindan Vijayan
            Assignee: Aravindan Vijayan
             Fix For: 1.1.0


While closing a open log segment using the SegmentedRaftLogWorker#closeLogSegment method, the corresponding cache segment also needs to be rolled (close and open a new empty one). Else,  the cache will go out of sync with the on disk log segment state.

cc [~lokeshjain] / [~hanishakoneru]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)