soarez commented on code in PR #12248:
URL: https://github.com/apache/kafka/pull/12248#discussion_r891031695
##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -812,13 +817,16 @@ class ReplicaManager(val config: KafkaConfig,
new
DescribeLogDirsResponseData.DescribeLogDirsResult().setLogDir(absolutePath)
.setErrorCode(Errors.NONE.code).setTopics(topicInfos)
+ .setTotalBytes(totalBytes).setUsableBytes(usableBytes)
case None =>
new
DescribeLogDirsResponseData.DescribeLogDirsResult().setLogDir(absolutePath)
.setErrorCode(Errors.NONE.code)
+ .setTotalBytes(totalBytes).setUsableBytes(usableBytes)
}
} catch {
case e: KafkaStorageException =>
+ e.printStackTrace()
Review Comment:
Is this change intended? The exception is already logged in the following
line .
--
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]