Lucas Wang created KAFKA-6650:

             Summary: The controller should be able to handle a partially 
deleted topic
                 Key: KAFKA-6650
             Project: Kafka
          Issue Type: Bug
            Reporter: Lucas Wang
            Assignee: Lucas Wang

A previous controller could have deleted some partitions of a topic from ZK, 
but not all partitions, and then died.
In that case, the new controller should be able to handle the partially deleted 
topic, and finish the deletion.

In the current code base, if there is no leadership info for a replica's 
partition, the transition to OfflineReplica state for the replica will fail. 
Afterwards the transition to ReplicaDeletionStarted will fail as well since the 
only valid previous state for ReplicaDeletionStarted is OfflineReplica. 
Furthermore, it means the topic deletion will never finish.

This message was sent by Atlassian JIRA

Reply via email to