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

Broker sessions can time out during ZK migration

    XMLWordPrintableJSON

Details

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

    Description

      When a ZK to KRaft migration takes more than a few seconds to complete, the sessions between the ZK brokers and the KRaft controller will expire. This appears to be due to the heartbeat events being blocked in the purgatory on the controller.

      The side effect of this expiration is that after the metadata is migrated, the KRaft controller will immediately fence all of the brokers and remove them from ISRs. This leads to a mass leadership change that can cause large latency spikes on the brokers.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: