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

KRaft Controller shouldn't allow metadata updates before migration starts

    XMLWordPrintableJSON

Details

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

    Description

      When starting a ZK to KRaft migration, the new KRaft quorum should not accept external metadata updates from things like CreateTopics or AllocateProducerIds. Having metadata present in the log prior to the migration can lead to undefined state, which is not great.

      This is currently causing test failures on trunk because some producer is allocating a producer ID between the time the KRaft quorum starts and the migration starts.

      Attachments

        Issue Links

          Activity

            People

              mumrah David Arthur
              mumrah David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: