You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2020/12/01 01:29:00 UTC

[jira] [Created] (KAFKA-10779) Reassignment tool sets throttles incorrectly when overriding a reassignment

Jason Gustafson created KAFKA-10779:
---------------------------------------

             Summary: Reassignment tool sets throttles incorrectly when overriding a reassignment
                 Key: KAFKA-10779
                 URL: https://issues.apache.org/jira/browse/KAFKA-10779
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson


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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)