Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14304 ZooKeeper to KRaft Migration
  3. KAFKA-14909

KRaft Controllers not setting ZkMigrationReady tagged field

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • kraft
    • None

    Description

      When sending ApiVersionsResponse to other controllers, the KRaft controller is not setting the ZkMigrationReady field. This means, we can't determine if the full KRaft quorum has been properly configured for a migration before triggering the migration.

      As a result, we could start the migration on controller A (which was properly configured), then fail over to controller B (which was not properly configured) and no longer be in dual-write mode.

      The fix is to properly set the ZkMigrationReady tagged field, and to make use of it in KRaftMigrationDriver

      Attachments

        Issue Links

          Activity

            People

              showuon Luke Chen
              mumrah David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: