Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
The delete.topic.enable configuration does not completely block the effects of delete topic since the controller may (indirectly) query the list of topics under the delete-topic znode.
To reproduce:
- Delete topic X
- Force a controller move (either by bouncing or removing the controller znode)
- The new controller will send out UpdateMetadataRequests with leader=-2 for the partitions of X
- Producers eventually stop producing to that topic
The reason for this is that when ControllerChannelManager adds UpdateMetadataRequests for brokers, we directly use the partitionsToBeDeleted field of the DeleteTopicManager (which is set to the partitions of the topics under the delete-topic znode on controller startup).
In order to get out of the situation you have to remove X from the znode and then force another controller move.
Attachments
Issue Links
- is duplicated by
-
KAFKA-3175 topic not accessible after deletion even when delete.topic.enable is disabled
- Resolved
- links to