Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14802

topic deletion bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.2
    • None
    • controller, replication
    • None
    • AWS m5.xlarge EC2 instance
    • Important

    Description

      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)

      Attachments

        1. server.properties
          1 kB
          Behavox

        Activity

          People

            Unassigned Unassigned
            bwei9awf Behavox
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: