[
https://issues.apache.org/jira/browse/RATIS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
runzhiwang updated RATIS-1256:
------------------------------
Fix Version/s: 1.1.0
> Leader updateCommit should use the updated index
> ------------------------------------------------
>
> Key: RATIS-1256
> URL: https://issues.apache.org/jira/browse/RATIS-1256
> Project: Ratis
> Issue Type: Bug
> Components: server
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Fix For: 1.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In LeaderStateImpl.updateCommit, it gets entriesToCommit using the majority
> index and then updateCommitIndex. However, updateCommitIndex may update to a
> lower index than the majority index. Therefore, entriesToCommit may contain
> non-committed entries.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)