You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Gaurav Narula (Jira)" <ji...@apache.org> on 2024/01/25 13:49:00 UTC
[jira] [Created] (KAFKA-16195) metadata.log.dir failure shouldn't shutdown broker in ZK mode
Gaurav Narula created KAFKA-16195:
-------------------------------------
Summary: 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
{{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)