[ https://issues.apache.org/jira/browse/KAFKA-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672780#comment-13672780 ]
Jun Rao commented on KAFKA-928: ------------------------------- Thanks for the patch. It seems to me that hasStarted should be set to false on shutdown too. If that's the case, I don't see why we need both hasStarted and hasShutdown. > 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 > > > 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