RkGrit opened a new pull request, #1247:
URL: https://github.com/apache/ratis/pull/1247

   ## What changes were proposed in this pull request?
   
   When a follower receives multiple appendEntries requests from the leader, it 
may throw an IllegalStateException during log index validation. Specifically, 
the NavigableIndices class fails to handle concurrent log appends properly, 
causing the follower to incorrectly reject valid entries with an "index 
mismatch" error.
   
   The reason is that removeExisting can be called out of order. So we changing 
the Preconditions to check startIndex.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-2278
   
   ## How was this patch tested?
   
   unit tests
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to