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/16 19:48:00 UTC
[jira] [Created] (KAFKA-14240) Ensure kraft metadata log dir is initialized with valid snapshot state
Jason Gustafson created KAFKA-14240:
---------------------------------------
Summary: 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
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)