m1a2st commented on code in PR #16042:
URL: https://github.com/apache/kafka/pull/16042#discussion_r1613525989
##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -1247,7 +1247,8 @@ class ReplicaManager(val config: KafkaConfig,
val usableBytes = adjustForLargeFileSystems(fileStore.getUsableSpace)
logsByDir.get(absolutePath) match {
case Some(logs) =>
- val topicInfos = logs.groupBy(_.topicPartition.topic).map{case
(topic, logs) =>
+ val topicInfos = logs.filter(_.topicPartition.topic.nonEmpty)
Review Comment:
@chia7712 , @gaurav-narula , Thanks for your comments, I changed the code
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]