[
https://issues.apache.org/jira/browse/ROCKETMQ-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772125#comment-15772125
]
ASF GitHub Bot commented on ROCKETMQ-5:
---------------------------------------
GitHub user shroman opened a pull request:
https://github.com/apache/incubator-rocketmq/pull/6
[ROCKETMQ-5] Avoid creating directories in UtilAll#getDiskPartitionSp…
…aceUsedPercent()
Jira issue: https://issues.apache.org/jira/browse/ROCKETMQ-5
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shroman/incubator-rocketmq ROCKETMQ-5
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-rocketmq/pull/6.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6
----
commit fb113a859b82cc22a83cdf97bd811bb2f2a5aca0
Author: shroman <[email protected]>
Date: 2016-12-23T06:38:50Z
[ROCKETMQ-5] Avoid creating directories in
UtilAll#getDiskPartitionSpaceUsedPercent()
Jira issue: https://issues.apache.org/jira/browse/ROCKETMQ-5
----
> 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
>
> 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)