GitHub user dguy opened a pull request: https://github.com/apache/kafka/pull/4324
KAFKA-6360: Clear RocksDB Segments when store is closed Now that we support re-initializing state stores, we need to clear the segments when the store is closed so that they can be re-opened. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) You can merge this pull request into a Git repository by running: $ git pull https://github.com/dguy/kafka kafka-6360 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4324.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4324 ---- commit 4c84af7522d847f82b14e5b3b4c589b0223a5bd8 Author: Damian Guy <damian....@gmail.com> Date: 2017-12-14T10:13:44Z clear segments on close ---- ---