[ https://issues.apache.org/jira/browse/KAFKA-6304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773394#comment-16773394 ]
GEORGE LI commented on KAFKA-6304: ---------------------------------- [KIP-236|https://cwiki.apache.org/confluence/display/KAFKA/KIP-236%3A+Interruptible+Partition+Reassignment] is addressing the cancel/rollback of pending reassignments. WIP: KAFKA-6359 Github Pull Request#: [6296|https://github.com/apache/kafka/pull/6296] > The controller should allow updating the partition reassignment for the > partitions being reassigned > --------------------------------------------------------------------------------------------------- > > Key: KAFKA-6304 > URL: https://issues.apache.org/jira/browse/KAFKA-6304 > Project: Kafka > Issue Type: Improvement > Components: controller, core > Affects Versions: 1.0.0 > Reporter: Jiangjie Qin > Priority: Major > > 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 (v7.6.3#76005)