chungen0126 opened a new pull request, #1183: URL: https://github.com/apache/ratis/pull/1183
## What changes were proposed in this pull request? Found OverlappingFileLockExceptio when restarting RaftServer. When closing `RaftServerProxy`, all `RaftServerImpl` in `implMap` should be closed. However, if there was a new `RaftServerImpl` started by `RaftServerProxy#groupManagementAsync`, it would not be closed properly. The log will say that the new `RaftServerImpl` has been closed, but its raft store is still being initialised by `implExecutor`. Things change: - Closing implExecutor before closing implMap prevents RaftServerImpl from starting after it is closed by implMap. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-2194 ## How was this patch tested? https://github.com/chungen0126/ratis/actions/runs/12008556158 -- 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]
