[ https://issues.apache.org/jira/browse/KAFKA-13896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544451#comment-17544451 ]
David Arthur commented on KAFKA-13896: -------------------------------------- [~Jack-Lee] yes when we're doing a downgrade we use the metadata.version in the UpdateFeatures RPC (when the upgrade type is set to DOWNGRADE or UNSAFE_DOWNGRADE) > Support unsafe downgrades in KRaft > ---------------------------------- > > Key: KAFKA-13896 > URL: https://issues.apache.org/jira/browse/KAFKA-13896 > Project: Kafka > Issue Type: Sub-task > Components: controller, kraft > Reporter: David Arthur > Priority: Minor > > In order to support the "unsafe" downgrade specified in KIP-778 we need to be > able to generate a downgraded snapshot on the broker and controller. This > snapshot will write out metadata records at the record level that matches the > target metadata.version. Records that were added after the target > metadata.version will be omitted from the snapshot. > This also means we need a way to correlate record versions with > metadata.version. -- This message was sent by Atlassian Jira (v8.20.7#820007)