Behavox created KAFKA-14803: ------------------------------- Summary: topic deletion bug Key: KAFKA-14803 URL: https://issues.apache.org/jira/browse/KAFKA-14803 Project: Kafka Issue Type: Bug Components: controller, replication Affects Versions: 3.3.2 Reporter: Behavox Attachments: server.properties
topic deletion doesn't work as expected when attempting to delete topic(s), after successful deletion topic is recreated in a multi-controller environment with 3 controllers and ReplicationFactor: 2 How to reproduce - attempt to delete topic. Topic is removed successfully and recreated right after removal. Example below shows a single topic named example-topic. We have a total count of 17000 topics in the affected cluster. Our config is attached. Run 1 [2023-03-10 16:16:45,625] INFO [Controller 1] Removed topic example-topic with ID fh_aQcc3Sf2yVBTMrltBlQ. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:19:04,722] INFO [Controller 1] Created topic example-topic with topic ID a-7OZG_XQhiCatOBft-9-g. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:16:45,730] INFO [Controller 2] Removed topic example-topic with ID fh_aQcc3Sf2yVBTMrltBlQ. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:19:04,851] INFO [Controller 2] Created topic example-topic with topic ID a-7OZG_XQhiCatOBft-9-g. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:16:45,837] INFO [Controller 3] Removed topic example-topic with ID fh_aQcc3Sf2yVBTMrltBlQ. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:19:04,833] INFO [Controller 3] Created topic example-topic with topic ID a-7OZG_XQhiCatOBft-9-g. (org.apache.kafka.controller.ReplicationControlManager) Run 2 [2023-03-10 16:20:22,469] INFO [Controller 1] Removed topic example-topic with ID a-7OZG_XQhiCatOBft-9-g. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:22:19,711] INFO [Controller 1] Created topic example-topic with topic ID xxlJlIe_SvqQHtfgbX2eLA. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:20:22,674] INFO [Controller 2] Removed topic example-topic with ID a-7OZG_XQhiCatOBft-9-g. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:22:20,022] INFO [Controller 2] Created topic example-topic with topic ID xxlJlIe_SvqQHtfgbX2eLA. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:20:22,674] INFO [Controller 3] Removed topic example-topic with ID a-7OZG_XQhiCatOBft-9-g. (org.apache.kafka.controller.ReplicationControlManager) [2023-03-10 16:22:20,020] INFO [Controller 3] Created topic example-topic with topic ID xxlJlIe_SvqQHtfgbX2eLA. (org.apache.kafka.controller.ReplicationControlManager) -- This message was sent by Atlassian Jira (v8.20.10#820010)