amaliujia commented on pull request #188: URL: https://github.com/apache/incubator-ratis/pull/188#issuecomment-684112568
@runzhiwang `PAUSING` and `PAUSED` states are in the LifeCycle so technically for any role (leader, follower, candidate) can be paused. However, the current known usage is to pause a lagging follower and install a snapshot to help the follower catch up (e.g. lagging OM in Ozone HA mode or lagging followers on Ozone DataNode). That's why I left a comment say `Pause()` might only matter for follower now. Regarding who will call the `pause()`, it is not decided yet and I will have a design for it (relevant context: https://issues.apache.org/jira/browse/RATIS-624?focusedCommentId=17185513&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17185513) ---------------------------------------------------------------- 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]
