[ https://issues.apache.org/jira/browse/KAFKA-6146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225449#comment-16225449 ]
Jun Rao commented on KAFKA-6146: -------------------------------- We can fix this in a way similar to https://github.com/apache/kafka/pull/4143 > re-register the exist watch on PreferredReplicaElectionZNode after the > preferred leader election completes > ----------------------------------------------------------------------------------------------------------- > > Key: KAFKA-6146 > URL: https://issues.apache.org/jira/browse/KAFKA-6146 > Project: Kafka > Issue Type: Sub-task > Affects Versions: 1.1.0 > Reporter: Jun Rao > Fix For: 1.1.0 > > > Currently, after the PreferredReplicaElectionZNode is removed, we don't > register the exist watcher on the path again. This means that future > preferred replica election event will be missed. -- This message was sent by Atlassian JIRA (v6.4.14#64029)