You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (Created) (JIRA)" <ji...@apache.org> on 2012/03/13 01:20:41 UTC

[jira] [Created] (KAFKA-302) Implement the become leader and become follower state change operations

Implement the become leader and become follower state change operations
-----------------------------------------------------------------------

                 Key: KAFKA-302
                 URL: https://issues.apache.org/jira/browse/KAFKA-302
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Neha Narkhede


This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Assigned] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Prashanth Menon (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prashanth Menon reassigned KAFKA-302:
-------------------------------------

    Assignee: Prashanth Menon
    
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Commented] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Neha Narkhede (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269372#comment-13269372 ] 

Neha Narkhede commented on KAFKA-302:
-------------------------------------

If you don't have a patch ready for submission, let me attempt to pull out changes related to this JIRA from KAFKA-46. It will hopefully make it easier to review it in pieces.
                
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>              Labels: replication
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Resolved] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Neha Narkhede (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neha Narkhede resolved KAFKA-302.
---------------------------------

    Resolution: Fixed
      Assignee: Neha Narkhede  (was: Prashanth Menon)

Fixed as part of KAFKA-46
                
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Neha Narkhede
>              Labels: replication
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Commented] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Neha Narkhede (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249965#comment-13249965 ] 

Neha Narkhede commented on KAFKA-302:
-------------------------------------

This JIRA implements the becomeLeader() and becomeFollower() APIs as listed here - https://cwiki.apache.org/confluence/display/KAFKA/Kafka+replication+detailed+design+V2#KafkareplicationdetaileddesignV2-Becomeleader.
Since commit thread and replica fetcher thread is part of KAFKA-46, please leave empty stubs for those, in the patch for this JIRA.

                
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Commented] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Neha Narkhede (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268060#comment-13268060 ] 

Neha Narkhede commented on KAFKA-302:
-------------------------------------

Prashanth, 

To get the work for KAFKA-46 going, I took a stab at the becomeLeader/becomeFollower() logic. I would appreciate if you could review it. If you already have a patch, we can reverse the order, and review your patch, get it checked in and then do the rest of the review for KAFKA-46. We can try not to waste any of the work you might've already put in, for this JIRA.


                
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>              Labels: replication
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Commented] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Prashanth Menon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269277#comment-13269277 ] 

Prashanth Menon commented on KAFKA-302:
---------------------------------------

Oh boy, taking a look at the KAFKA-46 patch, it's pretty massive.  At this point, it might be better/easier to review the section of KAFKA-46 that covers this ticket.  I'll comment there.
                
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>              Labels: replication
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Work started] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Prashanth Menon (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KAFKA-302 started by Prashanth Menon.

> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Commented] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Prashanth Menon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261188#comment-13261188 ] 

Prashanth Menon commented on KAFKA-302:
---------------------------------------

Hi folks.  Now that KAFKA-301 has been committed, I'll begin taking a look at this.  As usually, time is tight, but I'm hoping to get something in this weekend.
                
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>              Labels: replication
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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

        

[jira] [Commented] (KAFKA-302) Implement the become leader and become follower state change operations

Posted by "Prashanth Menon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268879#comment-13268879 ] 

Prashanth Menon commented on KAFKA-302:
---------------------------------------

So, I have to apologize on my tardiness; I had completed most of the work, but didn't get a chance to clean it up before submitting for review.  What I'll do is tidy it up, and try to cherry-pick and psuedo-merge it with your implementation.  Expect something this weekend.
                
> Implement the become leader and become follower state change operations
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-302
>                 URL: https://issues.apache.org/jira/browse/KAFKA-302
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>              Labels: replication
>
> This JIRA will involve implementing the becomeLeader() and becomeFollower() APIs, as described in the Kafka replication design proposal. This can still be done independently of KAFKA-44

--
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