Tsz-wo Sze created RATIS-1256:
---------------------------------

             Summary: 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


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)

Reply via email to