You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Junyang Liu (Jira)" <ji...@apache.org> on 2022/09/20 17:47:00 UTC

[jira] [Created] (KAFKA-14245) Topic deleted during reassignment

Junyang Liu created KAFKA-14245:
-----------------------------------

             Summary: Topic deleted during reassignment
                 Key: KAFKA-14245
                 URL: https://issues.apache.org/jira/browse/KAFKA-14245
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 2.7.1
            Reporter: Junyang Liu


When Doing partition reassignment, the partition should not be deleted. But in the method "markTopicIneligibleForDeletion", topics need to be in "controllerContext.topicsToBeDeleted" while this is usually false because topics are not deleted at that time. This makes the topics doing reassignment not able to be added to "topicsIneligibleForDeletion". So when topic deletion comes, the topic in reassignment can also be deleted, which leads to the result that the reassignment can never be finished.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)