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)

Reply via email to