You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "xiongqi wu (JIRA)" <ji...@apache.org> on 2019/04/17 23:29:00 UTC
[jira] [Created] (KAFKA-8249) partition reassignment may never
finish if topic deletion completes first
xiongqi wu created KAFKA-8249:
---------------------------------
Summary: partition reassignment may never finish if topic deletion completes first
Key: KAFKA-8249
URL: https://issues.apache.org/jira/browse/KAFKA-8249
Project: Kafka
Issue Type: Bug
Reporter: xiongqi wu
Assignee: xiongqi wu
kafka allows topic deletion to complete successfully when there are pending partition reassignments of the same topics. (if topic deletion request comes after partition reassignment).
This leads several issues: 1) pending partition reassignments of deleted topic never complete because the topic is deleted. 2) onPartitionReassignment -> updateAssignedReplicasForPartition will throw out IllegalStateException for non-existing node. This in turns causes controller not to resume topic deletion for online broker and also fail to register broker notification handler (etc.) during onBrokerStartup.
To fix, we need to clean up pending partition reassignment during topic deletion.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)