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:
              roman_s Roman Shtykh
              Reporter:
              roman_s Roman Shtykh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: