Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7593 Supporting HSync and lease recovery
  3. HDDS-11135

[hsync] Replace expensive VolumeUsage.getMinVolumeFreeSpace()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDDS-7593
    • None

    Description

      Inside write path, VolumeUsage.getMinVolumeFreeSpace() involves a lot of ConfigurationSource access. Those should be cached/removed because the value doesn't change at all.

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: