You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2021/02/02 06:00:00 UTC

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

     [ https://issues.apache.org/jira/browse/RATIS-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

runzhiwang updated RATIS-1088:
------------------------------
    Affects Version/s:     (was: 1.0.0)
                       1.1.0

> 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.1.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Major
>             Fix For: 1.1.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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)