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

Swapnil Ghike commented on KAFKA-928:
-------------------------------------

Was just about to comment, perhaps it would be good to rename hasStarted to 
isRunning like in KafkaController. +1 otherwise.
                
> new topics may not be processed after ZK session expiration in controller
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-928
>                 URL: https://issues.apache.org/jira/browse/KAFKA-928
>             Project: Kafka
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Assignee: Neha Narkhede
>            Priority: Blocker
>         Attachments: kafka-928.patch, kafka-928-v2.patch
>
>
> When controller loses its ZK session, it calls partitionStateMachine.shutdown 
> in SessionExpirationListener, which marks the partitionStateMachine as down. 
> However, when the controller regains its controllership, it doesn't mark 
> partitionStateMachine as up. In TopicChangeListener, we only process new 
> topics if the partitionStateMachine is marked up.

--
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