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

Avoid creating directories in UtilAll#getDiskPartitionSpaceUsedPercent()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-incubating
    • None
    • 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

            shroman Roman Shtykh
            shroman Roman Shtykh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: