David Arthur created KAFKA-14840:
------------------------------------

             Summary: Handle KRaft snapshots in dual-write mode
                 Key: KAFKA-14840
                 URL: https://issues.apache.org/jira/browse/KAFKA-14840
             Project: Kafka
          Issue Type: Sub-task
          Components: kraft
    Affects Versions: 3.4.0
            Reporter: David Arthur
            Assignee: David Arthur
             Fix For: 3.5.0, 3.4.1


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to