ChenSammi commented on PR #1072:
URL: https://github.com/apache/ratis/pull/1072#issuecomment-2095142790
@szetszwo , notifyServerShutdown is called currently when a peer's in vote
phase, and is found not in the raft group by leader, so it turns down itself.
The case we met in Ozone datanode is different. The trace is,
RaftServerProxy#pauseMonitor#handleJvmPause -> RaftServerProxy#close ->
ImplMap for each Impl, RaftServerImpl#close
None of StateMachine#EventApi is called now. Are you suggesting to call
notifyServerShutdown in RaftServerImpl#close, and give a reason why
RaftServerImpl shutdown itself?
--
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]