zongtanghu commented on a change in pull request #1144: [RIP-7] fix some issue
and Optimization code for multiple_disk_dir
URL: https://github.com/apache/rocketmq/pull/1144#discussion_r273305953
##########
File path: common/src/main/java/org/apache/rocketmq/common/UtilAll.java
##########
@@ -199,18 +199,20 @@ public static double
getDiskPartitionSpaceUsedPercent(final String path) {
if (null == path || path.isEmpty())
return -1;
+ String[] pathArr = path.trim().split(";");
try {
Review comment:
In the function,you should add some comments,such as if you path parameter
is a mutiple-disk paths variable.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services