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

KRaft migration record counts in log message are incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.6.0
    • 3.6.0
    • kraft
    • None

    Description

      The counting logic in MigrationManifest is incorrect and produces invalid output. This information is critical for users wanting to validate the result of a migration.

       

      Completed migration of metadata from ZooKeeper to KRaft. 7117 records were generated in 54253 ms across 1629 batches. The record types were {TOPIC_RECORD=2, CONFIG_RECORD=2, PARTITION_RECORD=2, ACCESS_CONTROL_ENTRY_RECORD=2, PRODUCER_IDS_RECORD=1}. 
      

      Due to the logic bug, the counts will never exceed 2.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: