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

KRaftMigrationZkWriter tries to delete deleted topic configs twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.0
    • kraft, migration
    • None

    Description

      When deleting a topic, we see spurious ERROR logs from kafka.zk.migration.ZkConfigMigrationClient:
       

      Did not delete ConfigResource(type=TOPIC, name='xxx') since the node did not exist. 

      This seems to happen because ZkTopicMigrationClient#deleteTopic is deleting the topic, partitions, and config ZNodes in one shot. Subsequent calls from KRaftMigrationZkWriter to delete the config encounter a NO_NODE since the ZNode is already gone.

      Attachments

        Issue Links

          Activity

            People

              alyssahuang Alyssa Huang
              davidarthur David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: