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

   ## What changes were proposed in this pull request?
   
   When Ratis follower is installing snapshot, its appliedIndex will not 
advance until the snapshot is installed. This can cause all linearizable 
follower read on this node to timeout due to the client timeout (default is 3s).
   
   Instead of waiting until the client timeout, Ratis follower can check 
whether it is currently installing snapshot and trigger failover immediately if 
it does.
   
   Ideally, we might also need to fail any pending read requests.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-2511
   
   ## How was this patch tested?
   
   Integration test.
   


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