You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jiangjie Qin (JIRA)" <ji...@apache.org> on 2017/12/04 00:50:00 UTC

[jira] [Created] (KAFKA-6304) The controller should allow update the partition reassignment for the partitions being reassigned

Jiangjie Qin created KAFKA-6304:
-----------------------------------

             Summary: The controller should allow update the partition reassignment for the partitions being reassigned
                 Key: KAFKA-6304
                 URL: https://issues.apache.org/jira/browse/KAFKA-6304
             Project: Kafka
          Issue Type: Bug
            Reporter: Jiangjie Qin


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)