GitHub user omkreddy opened a pull request: https://github.com/apache/kafka/pull/1367
KAFKA-3584; Fix synchronization issue between deleteOldSegments() and nd delete() methods calls This PR is to fix synchronization issue between deleteOldSegments() and delete() method calls. log.deleteOldSegments() call throws NullPointerException after log.delete() method call. cc @ijuma @junrao You can merge this pull request into a Git repository by running: $ git pull https://github.com/omkreddy/kafka KAFKA-3584 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1367.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 #1367 ---- commit 6a9240d7fd6d7b08246bda6fba6d909d5268a5d2 Author: Manikumar reddy O <manikumar.re...@gmail.com> Date: 2016-05-11T09:15:45Z KAFKA-3584; Fix synchronization problem between deleteOldSegments() and delete() methods calls ---- --- 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. ---