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

Consolidate reassignment logic in PartitionReassignmentReplicas

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.5.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              andyg2 Andrew Grant
              andyg2 Andrew Grant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: