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

The controller should allow updating the partition reassignment for the partitions being reassigned

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: controller, core
    • Labels:
      None

      Description

      Currently the controller will not process the partition reassignment of a partition if the partition is already being reassigned.

      The issue is that if there is a broker failure during the partition reassignment, the partition reassignment may never finish. And the users may want to cancel the partition reassignment. However, the controller will refuse to do that unless user manually deletes the partition reassignment zk path, force a controller switch and then issue the revert command. This is pretty involved. It seems reasonable for the controller to replace the ongoing stuck reassignment and replace it with the updated partition assignment.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              becket_qin Jiangjie Qin
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: