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

KRaft Controller doesn't reconcile with Zookeeper metadata upon becoming new controller while in dual write mode.

    XMLWordPrintableJSON

Details

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

    Description

      When a KRaft controller fails over, the existing migration driver (in dual write mode) can fail in between Zookeeper writes and may leave Zookeeper with incomplete and inconsistent data. So when a new controller becomes active (and by extension new migration driver becomes active), this first thing we should do is load the in-memory snapshot and use it to write metadata to Zookeeper to have a steady state. We currently do not do this and it may leave Zookeeper in inconsistent state.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: