You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Gaurav Narula (Jira)" <ji...@apache.org> on 2024/01/28 12:39:00 UTC
[jira] [Assigned] (KAFKA-16195) metadata.log.dir failure shouldn't shutdown broker in ZK mode
[ https://issues.apache.org/jira/browse/KAFKA-16195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaurav Narula reassigned KAFKA-16195:
-------------------------------------
Assignee: Gaurav Narula
> metadata.log.dir failure shouldn't shutdown broker in ZK mode
> -------------------------------------------------------------
>
> Key: KAFKA-16195
> URL: https://issues.apache.org/jira/browse/KAFKA-16195
> Project: Kafka
> Issue Type: Bug
> Components: jbod
> Affects Versions: 3.7.0
> Reporter: Gaurav Narula
> Assignee: Gaurav Narula
> Priority: Major
>
> {{ReplicaManager::handleLogDirFailure}} shuts down the broker if the directory that has failed is the same as {{config.metadataLogDir}} [[0]|https://github.com/apache/kafka/blob/f1924353126fdf6aad2ba1f8d0c22dade59360b1/core/src/main/scala/kafka/server/ReplicaManager.scala#L2601]. If unset, it defaults to the first log directory configured even in ZK mode.
> The check should be amended to ensure the broker is either in Migration mode or Kraft mode and the broker shouldn't shut down when running in ZK mode.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)