runzhiwang commented on pull request #188:
URL: https://github.com/apache/incubator-ratis/pull/188#issuecomment-684125141


   > In Ozone, once an OM realizes that it is lagging behind, it would call 
this RaftServer#pause and then install the snapshot. It should not need a 
client to tell it to pause the Ratis server. Install snapshot in OM happens 
automatically when required.
   
   @amaliujia I copied this from 
https://issues.apache.org/jira/browse/RATIS-624.  If I'm wrong, please correct 
me.
   As this comment said, the follower should detect the lag behind by itself, 
and then the follower call `pause` by itself,  rather than leader call 
`follower.pause`. 


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