[ 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-v3.patch Actually since preferred replica election is not a heavy weight operation like partition reassignment (where we need to wait until the new followers catch up etc), we can move reading of the controllerContext.partitionsUndergoingPreferredReplicaElection to inside the controllerLock. Attached patch v3. > 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, kafka-828-v2.patch, > kafka-828-v3.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