Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-5

Avoid creating directories in UtilAll#getDiskPartitionSpaceUsedPercent()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              shroman Roman Shtykh
              Reporter:
              shroman Roman Shtykh

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment