You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2022/09/19 19:10:00 UTC
[jira] [Resolved] (KAFKA-14240) Ensure kraft metadata log dir is initialized with valid snapshot state
[ https://issues.apache.org/jira/browse/KAFKA-14240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gustafson resolved KAFKA-14240.
-------------------------------------
Resolution: Fixed
> Ensure kraft metadata log dir is initialized with valid snapshot state
> ----------------------------------------------------------------------
>
> Key: KAFKA-14240
> URL: https://issues.apache.org/jira/browse/KAFKA-14240
> Project: Kafka
> Issue Type: Improvement
> Reporter: Jason Gustafson
> Assignee: Jason Gustafson
> Priority: Major
> Fix For: 3.3.0
>
>
> If the first segment under __cluster_metadata has a base offset greater than 0, then there must exist at least one snapshot which has a larger offset than whatever the first segment starts at. We should check for this at startup to prevent the controller from initialization with invalid state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)