You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/03 07:06:58 UTC
[jira] [Commented] (ROCKETMQ-5) Avoid creating directories in
UtilAll#getDiskPartitionSpaceUsedPercent()
[ https://issues.apache.org/jira/browse/ROCKETMQ-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15794351#comment-15794351 ]
ASF GitHub Bot commented on ROCKETMQ-5:
---------------------------------------
Github user lollipopjin commented on the issue:
https://github.com/apache/incubator-rocketmq/pull/23
Great. @vongosling @zhouxinyu PLZ review the code.
> Avoid creating directories in UtilAll#getDiskPartitionSpaceUsedPercent()
> ------------------------------------------------------------------------
>
> Key: ROCKETMQ-5
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-5
> Project: Apache RocketMQ
> Issue Type: Bug
> Reporter: Roman Shtykh
> Assignee: Roman Shtykh
>
> Since {{UtilAll#getDiskPartitionSpaceUsedPercent()}} is a diagnostic method, rather than creating a directory if it is not found, produce an error log that the directory is supposed to exist and return {{-1}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)