[
https://issues.apache.org/jira/browse/KAFKA-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao updated KAFKA-879:
--------------------------
Resolution: Fixed
Fix Version/s: 0.8
Status: Resolved (was: Patch Available)
Thanks for the patch. Committed to 0.8.
> In system test, read the new leader from zookeeper instead of broker log on
> completion of become-leader state transition
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-879
> URL: https://issues.apache.org/jira/browse/KAFKA-879
> Project: Kafka
> Issue Type: Bug
> Reporter: Swapnil Ghike
> Assignee: John Fung
> Labels: bugs
> Fix For: 0.8
>
> Attachments: kafka-879-v1.patch
>
>
> Currently the system test reads the new leader from a broker log statement on
> completion of become-leader state transition. The log statements can change
> with time and can also move around.
> We can read the leader info from zookeeper given a topic, partition. The path
> is #2 at
> https://cwiki.apache.org/confluence/display/KAFKA/Kafka+data+structures+in+Zookeeper.
> The Zookeeper data structures are unlikely to change in foreseeable future.
--
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