GitHub user dguy opened a pull request: https://github.com/apache/kafka/pull/1628
KAFKA-3812 State store locking is incorrect Move all state directory creation/locking/unlocking/cleaning to a single class. Don't release the channel until the lock is released. Refactor code to make use of new class You can merge this pull request into a Git repository by running: $ git pull https://github.com/dguy/kafka kafka-3812 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1628.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 #1628 ---- commit b4547162d5d07cd471c1ccf9e84ed57c947bf2e4 Author: Damian Guy <damian....@gmail.com> Date: 2016-07-17T16:29:20Z move locking/cleaning/creating/unlocking of task directories into a single class. refactor code to make use of it ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---