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)

Reply via email to