[ https://issues.apache.org/jira/browse/KAFKA-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Swapnil Ghike updated KAFKA-828: -------------------------------- Attachment: kafka-828-v1.patch 1. Moving removePartitionsFromPreferredReplicaElection() to onPreferredReplicaElection() so that when a controller fails over and tries to complete the preferred replica election, the admin path is deleted. 2. Moved the parsePreferredReplicaElectionData() to ZkUtils from the admin.PreferredReplicaLeaderElectionCommand. There was also another function in ZkUtils for the same purpose and it was outdated, removed it. > Preferred Replica Election does not delete the admin path on controller > failover > -------------------------------------------------------------------------------- > > Key: KAFKA-828 > URL: https://issues.apache.org/jira/browse/KAFKA-828 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8 > Reporter: Swapnil Ghike > Assignee: Swapnil Ghike > Priority: Blocker > Labels: bugs, kafka-0.8, p1 > Fix For: 0.8 > > Attachments: kafka-828-v1.patch > > -- 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