dengziming opened a new pull request #10021: URL: https://github.com/apache/kafka/pull/10021
*More detailed description of your change* 3 times to delete a snapshot: 1. When a follower completing fetch snapshot and truncate the log to the latest snapshot 2. When a controller pollCurrentState and delete old segment 3. When restarting the RaftClient. *Summary of testing strategy (including rationale)* Unit test ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org