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)

Reply via email to