amaliujia commented on pull request #188: URL: https://github.com/apache/incubator-ratis/pull/188#issuecomment-693647105
> https://issues.apache.org/jira/browse/RATIS-624?focusedCommentId=17185454&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17185454 > By # 2 of the comment above, a follower detects itself if it is lagging behind. This is correct. > If yes, it will pause itself and install snapshot. So pause() is only a local call. No? This is not decided. Right now Leader, follower and application all could make the pause/install snapshot call. For Leader and application, it has to be a RPC call. If it is the follower to take responsibility for catch-up, it should be a local call. I am leaning to let either leader or application (which needs client change) to handle this process. That's why I am adding this as a RPC call. Another reason to keep it as a RPC call is, seems to me that keep the room to allow applications in the future pause a node is ok. E.g. people just pause a node and manually log in to inspect the node's status. ---------------------------------------------------------------- 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]
