Skip to content

Commit

Permalink
RATIS-2060 Avoid unexpected shutdown of RaftServerProxy during member…
Browse files Browse the repository at this point in the history
…ship change (apache#1069)
  • Loading branch information
OneSizeFitsQuorum committed Apr 25, 2024
1 parent 8704cd2 commit 7f1b1b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ private boolean askForVotes(Phase phase, int round) throws InterruptedException,
return true;
case NOT_IN_CONF:
case SHUTDOWN:
server.getRaftServer().close();
server.close();
server.getStateMachine().event().notifyServerShutdown(server.getRoleInfoProto());
return false;
case TIMEOUT:
Expand Down

0 comments on commit 7f1b1b6

Please sign in to comment.