szetszwo commented on code in PR #1140:
URL: https://github.com/apache/ratis/pull/1140#discussion_r1739208226
##########
ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java:
##########
@@ -463,6 +465,13 @@ void groupRemove(boolean deleteDirectory, boolean
renameDirectory) {
/* Shutdown is triggered here inorder to avoid any locked files. */
state.getStateMachineUpdater().setRemoving();
close();
+ try {
+ closeFinishedLatch.await();
Review Comment:
@OneSizeFitsQuorum , thanks for the detailed explanation! I understand the
change now.
--
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]