[ https://issues.apache.org/jira/browse/KAFKA-16195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-16195. ------------------------------------ Fix Version/s: 3.7.2 3.8.0 Resolution: Fixed 3.7: https://github.com/apache/kafka/commit/73fb4de9aa03b2c39b11d7c296e55154a3b341de trunk: https://github.com/apache/kafka/commit/3d95a69a28c2d16e96618cfa9a1eb69180fb66ea > 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 > Fix For: 3.7.2, 3.8.0 > > > {{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)