You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2023/05/06 15:26:00 UTC

[jira] [Resolved] (KAFKA-14840) Handle KRaft snapshots in dual-write mode

     [ https://issues.apache.org/jira/browse/KAFKA-14840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Arthur resolved KAFKA-14840.
----------------------------------
    Fix Version/s:     (was: 3.4.1)
       Resolution: Fixed

> 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
>            Priority: Blocker
>             Fix For: 3.5.0
>
>
> 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)