szetszwo commented on PR #1072:
URL: https://github.com/apache/ratis/pull/1072#issuecomment-2093308221
@ChenSammi , we may add a boolean parameter as below. Anyway, we should use
the same mechanism to notify the `StateMachine`.
```java
/**
* Notify the {@link StateMachine} that a raft server has step down.
*/
default void notifyServerShutdown(RoleInfoProto roleInfo) {
notifyServerShutdown(roleInfo, false);
}
default void notifyServerShutdown(RoleInfoProto roleInfo, boolean
allServers) {}
```
--
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]