kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiongqi wu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-8249) partition reassignment may never finish if topic deletion completes first
Date Wed, 17 Apr 2019 23:29:00 GMT
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)

Mime
View raw message