Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1653

Duplicate broker ids allowed in replica assignment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.1.1
    • Fix Version/s: 0.8.2.0
    • Component/s: tools
    • Labels:

      Description

      The reassign partitions command and the controller do not ensure that all replicas for a partition are on different brokers. For example, you could set 1,2,2 as the list of brokers for the replicas.

      kafka-topics.sh --describe --under-replicated will list these partitions as under-replicated, but I can't see a reason why the controller should allow this state.

        Attachments

        1. KAFKA-1653.patch
          4 kB
          Ewen Cheslack-Postava
        2. KAFKA-1653_2014-10-21_11:57:50.patch
          20 kB
          Ewen Cheslack-Postava
        3. KAFKA-1653_2014-10-16_14:54:07.patch
          8 kB
          Ewen Cheslack-Postava

          Activity

            People

            • Assignee:
              ewencp Ewen Cheslack-Postava
              Reporter:
              rberdeen Ryan Berdeen
              Reviewer:
              Neha Narkhede
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: