mimaison commented on code in PR #12248:
URL: https://github.com/apache/kafka/pull/12248#discussion_r891335380
##########
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:
Oops, no we obviously don't want that! Thanks, fixed
--
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]