szetszwo commented on pull request #602:
URL: https://github.com/apache/ratis/pull/602#issuecomment-1041561733
@codings-dan , could you also remove
`RaftServerImpl.setLeaderElectionPause`. It is never used.
```
@@ -1448,11 +1452,6 @@ class RaftServerImpl implements RaftServer.Division,
return reply;
}
- void setLeaderElectionPause(boolean pause) throws ServerNotReadyException
{
- assertLifeCycleState(LifeCycle.States.RUNNING);
- role.setLeaderElectionPause(pause);
- }
-
boolean pause() {
// TODO: should pause() be limited on only working for a follower?
```
--
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]