[
https://issues.apache.org/jira/browse/KAFKA-10779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gustafson resolved KAFKA-10779.
-------------------------------------
Fix Version/s: 2.8.0
Resolution: Fixed
> 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
> Assignee: dengziming
> Priority: Major
> Fix For: 2.8.0
>
>
> 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)