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

Handle KRaft snapshots in dual-write mode

    XMLWordPrintableJSON

Details

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

    Description

      While the KRaft controller is making writes back to ZK during the migration, we need to handle the case when a snapshot is loaded. This can happen for a number of reasons in KRaft.

      The difficulty here is we will need to compare the loaded snapshot with the entire state in ZK. Most likely, this will be a very expensive operation.

      Without this, dual-write mode cannot safely tolerate a snapshot being loaded, so marking this as a 3.5 blocker.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: