You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "José Armando García Sancio (Jira)" <ji...@apache.org> on 2023/03/29 17:14:00 UTC

[jira] [Resolved] (KAFKA-14829) Consolidate reassignment logic in PartitionReassignmentReplicas

     [ https://issues.apache.org/jira/browse/KAFKA-14829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

José Armando García Sancio resolved KAFKA-14829.
------------------------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

> Consolidate reassignment logic in PartitionReassignmentReplicas
> ---------------------------------------------------------------
>
>                 Key: KAFKA-14829
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14829
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Andrew Grant
>            Assignee: Andrew Grant
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> Currently, we have various bits of reassignment logic spread across different classes. For example, `ReplicationControlManager` contains logic for when a reassignment is in progress, which is duplication in `PartitionChangeBuilder`. Another example is `PartitionReassignmentRevert` which contains logic for how to undo/revert a reassignment. The idea here is to move the logic to `PartitionReassignmentReplicas` so its more testable and easier to reason about.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)