You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mickael Maison (Jira)" <ji...@apache.org> on 2023/06/02 14:48:00 UTC
[jira] [Resolved] (KAFKA-15010) KRaft Controller doesn't reconcile with Zookeeper metadata upon becoming new controller while in dual write mode.
[ https://issues.apache.org/jira/browse/KAFKA-15010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mickael Maison resolved KAFKA-15010.
------------------------------------
Resolution: Fixed
> KRaft Controller doesn't reconcile with Zookeeper metadata upon becoming new controller while in dual write mode.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-15010
> URL: https://issues.apache.org/jira/browse/KAFKA-15010
> Project: Kafka
> Issue Type: Bug
> Components: kraft
> Affects Versions: 3.5.0
> Reporter: Akhilesh Chaganti
> Assignee: David Arthur
> Priority: Blocker
> Fix For: 3.5.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)