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

   ## What changes were proposed in this pull request?
   
   1. Fix race condition that may cause follower to be incorrectly marked as 
having caught up with leader.
   2. Fix calculation of `initializing` flag for `appendEntries` request sent 
to follower.
   
   Please see RATIS-1960 for details on both.
   
   ## How was this patch tested?
   
   CI:
   https://github.com/adoroszlai/ratis/actions/runs/7151958459
   
   Passed 10x50 
`TestInstallSnapshotNotificationWithGrpc#testInstallSnapshotDuringBootstrap` 
(this was failing in 6% of runs after fixing only the race condition):
   https://github.com/adoroszlai/ratis/actions/runs/7152037092


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