GitHub user MayureshGharat opened a pull request: https://github.com/apache/kafka/pull/729
KAFKA-2937 : Disable the leaderIsr check if the topic is to be deleted. The check was implemented in KAFKA-340 : If we are shutting down a broker when the ISR of a partition includes only that broker, we could lose some messages that have been previously committed. For clean shutdown, we need to guarantee that there is at least 1 other broker in ISR after the broker is shut down. When we are deleting the topic, this check can be avoided. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MayureshGharat/kafka kafka-2937 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/729.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 #729 ---- commit 9d5afd0f29f2f4311e534eb375e1c9ddb23b33dd Author: Mayuresh Gharat <mgha...@mgharat-ld1.linkedin.biz> Date: 2016-01-04T22:56:01Z Disable the leaderIsr check if the topic is to be deleted. ---- --- 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. ---