You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2021/03/19 23:46:00 UTC
[jira] [Commented] (KAFKA-12504) KafkaMetadataLog should check
clean shutdown file
[ https://issues.apache.org/jira/browse/KAFKA-12504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305241#comment-17305241 ]
Ismael Juma commented on KAFKA-12504:
-------------------------------------
[https://github.com/apache/kafka/pull/10363] updated the code to always assume shutdown is unclean for KafkaMetadataLog. This Jira will improve this.
> KafkaMetadataLog should check clean shutdown file
> -------------------------------------------------
>
> Key: KAFKA-12504
> URL: https://issues.apache.org/jira/browse/KAFKA-12504
> Project: Kafka
> Issue Type: Bug
> Reporter: Jason Gustafson
> Assignee: Jason Gustafson
> Priority: Major
> Labels: kip-500
>
> When a `Log` is opened, we will skip recovery if the clean shutdown file is present. This is specified as an optional parameter, which has a default value of `true`. Currently `KafkaMetadataLog` relies on this default instead of properly checking for clean shutdown, which means we will always skip recovery for this log.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)