lokeshj1703 opened a new pull request #185:
URL: https://github.com/apache/incubator-ratis/pull/185


   Co-authored-by: Elek Márton <[email protected]>
   
   ## What changes were proposed in this pull request?
   
   The PR initiates heartbeat if follower's commitIndex lags from leader's 
commitIndex. This helps in faster resolution of any pending watch requests in 
the leader. 
   
   It also changes the waitTimes for the appender thread so that the thread 
does not sleep for a long time while there are pending watch requests in leader.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1042
   
   ## How was this patch tested?
   
   Existing UT and by running teragen for Ozone


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

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


Reply via email to