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

Reassignment tool sets throttles incorrectly when overriding a reassignment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • None
    • None

    Description

      The logic in `ReassignPartitionsCommand.calculateProposedMoveMap` assumes that adding replicas are not included in the replica set returned from `Metadata` or `ListPartitionReassignments`. This is evident in the test case `ReassignPartitionsUnitTest.testMoveMap`. Because of this incorrect assumption, the move map is computed incorrectly which can result in the wrong throttles being applied. As far as I can tell, this is only an issue when overriding an existing reassignment.

      Attachments

        Issue Links

          Activity

            People

              dengziming Deng Ziming
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: