dajac commented on a change in pull request #8672: URL: https://github.com/apache/kafka/pull/8672#discussion_r446192909
########## File path: core/src/main/scala/kafka/log/LogManager.scala ########## @@ -1018,6 +1097,15 @@ class LogManager(logDirs: Seq[File], byDir } + private def logsByDir(dir: File): Map[TopicPartition, Log] = { Review comment: Good point. ########## File path: core/src/main/scala/kafka/log/LogManager.scala ########## @@ -1018,6 +1097,15 @@ class LogManager(logDirs: Seq[File], byDir } + private def logsByDir(dir: File): Map[TopicPartition, Log] = { + logsByDir.getOrElse(dir.getAbsolutePath, Map.empty) + } + + private def logsByDir(cachedLogsByDir: Map[String, Map[TopicPartition, Log]], Review comment: Good point. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org