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

David Arthur updated KAFKA-15799:
---------------------------------
    Fix Version/s: 3.7.0

> ZK brokers incorrectly handle KRaft metadata snapshots
> ------------------------------------------------------
>
>                 Key: KAFKA-15799
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15799
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: David Arthur
>            Assignee: David Arthur
>            Priority: Major
>             Fix For: 3.7.0, 3.6.1
>
>
> While working on the fix for KAFKA-15605, I noticed that ZK brokers are 
> unconditionally merging data from UpdateMetadataRequest with their existing 
> MetadataCache. This is not the correct behavior when handling a metadata 
> snapshot from the KRaft controller. 
> For example, if a topic was deleted in KRaft and not transmitted as part of a 
> delta update (e.g., during a failover) then the ZK brokers will never remove 
> the topic from their cache (until they restart and rebuild their cache).



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

Reply via email to