swamirishi opened a new pull request, #1218: URL: https://github.com/apache/ratis/pull/1218
## What changes were proposed in this pull request? On Ratis Snapshot and group removal the statemachine just waits for apply transactions that have been applied on a single iteration. If there are no more transactions added onto the state machine and all of the apply transaction future are still in progress. The state machine ends up not waiting for the updater thread and ends up calling the notifyGroupRemove function and deletes the raft group directory. So this could lead to some node not being able to apply some of the transactions still in flight in case of a restart. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-2245 ## How was this patch tested? Adding unit tests. -- 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]
