[ 
https://issues.apache.org/jira/browse/KAFKA-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644863#comment-13644863
 ] 

Jun Rao commented on KAFKA-886:
-------------------------------

Thanks for the write-up. Some comments.

1. It would be useful to highlight the motivation of the controlled shutdown 
tool. Basically, it reduces the unavailable window. If we simply shutdown a 
broker without running the tool first, partitions with leader on the broker are 
not available until the new leaders are elected. Since we currently elect 
leaders sequentially one partition at a time and each leader election involves 
reads/writes to ZK, it may take some time for all leaders to be elected, 
especially when there are many partitions. Running the controlled shutdown tool 
allows us to move the leader proactively one at a time and thus reduce the 
unavailable window.

2. We also need to add that once the controlled shutdown tool runs 
successfully, one can shutdown the broker as normal.

3. We need to describe how to find the controller.

4. It would be useful to describe the list-topic and the create-topic tool as 
well.
                
> Update info on Controlled shutdown and Preferred replica election tool
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-886
>                 URL: https://issues.apache.org/jira/browse/KAFKA-886
>             Project: Kafka
>          Issue Type: Sub-task
>    Affects Versions: 0.8
>            Reporter: Sriram Subramanian
>            Assignee: Sriram Subramanian
>            Priority: Blocker
>              Labels: p1
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to