You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2015/02/20 17:51:11 UTC

[jira] [Commented] (KAFKA-1971) starting a broker with a conflicting id will delete the previous broker registration

    [ https://issues.apache.org/jira/browse/KAFKA-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329154#comment-14329154 ] 

Jun Rao commented on KAFKA-1971:
--------------------------------

This issue is that when broker 2's ZK registration fails, we try to shutdown the broker. One of the steps is to explicitly delete the broker registration path in ZK. Since broker 2 has the same broker id as broker 1, this actually deletes broker 1's registration path by accident.

> starting a broker with a conflicting id will delete the previous broker registration
> ------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1971
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1971
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.2.0
>            Reporter: Jun Rao
>             Fix For: 0.8.3
>
>
> This issue can be easily reproduced by the following steps.
> 1. Start broker 1.
> 2. Start broker 2 with the same id as broker 1 (configure different port, log dir).
> Broker 2's registration will fail. However, broker 1's registration in ZK is now deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)