You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Prashanth Menon (Commented) (JIRA)" <ji...@apache.org> on 2012/02/13 00:16:59 UTC
[jira] [Commented] (KAFKA-45) Broker startup, leader election,
becoming a leader/follower for intra-cluster replication
[ https://issues.apache.org/jira/browse/KAFKA-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206552#comment-13206552 ]
Prashanth Menon commented on KAFKA-45:
--------------------------------------
Hey everyone. Since the ZK structures are effectively done as part of KAFKA-47, I thought I'd start on this ticket. Something that came up was the log cleanup functionality within LogManager will need to be tweaked. My thinking is that Replica's should manage the cleanup of their local logs (moving that functionality from LogManager) and need to be in-sync with the leader with respect to hw, logEndOffset, and also the logMinOffset; essentially, the amount of data available on all ISR for replica R must be the same reglardless of each individual broker's log cleanup configuration. Not sure how that information should be propagated, whether through the follower's fetch request or somewhere in ZK, that should be left up to discussion. Regardless, non-leader replica's can use this minOffset to perform local log cleanups, I suppose. Please do let me know if I'm missing a peice of the puzzle here or if there's a simpler solution.
> Broker startup, leader election, becoming a leader/follower for intra-cluster replication
> -----------------------------------------------------------------------------------------
>
> Key: KAFKA-45
> URL: https://issues.apache.org/jira/browse/KAFKA-45
> Project: Kafka
> Issue Type: Bug
> Reporter: Jun Rao
>
> We need to implement the logic for starting a broker with replicated partitions, the leader election logic and how to become a leader and a follower.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira