Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9381

Snitch for freedisk uses root path not Solr home

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1, 7.0
    • Fix Version/s: 6.2.1, 6.3, 7.0
    • Component/s: SolrCloud
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      The path used for the freedisk snitch value is hardcoded to / whereas it should be using Solr home. It's fairly common to use hardware for Solr with multiple physical disks on different mount points, with multiple Solr instances running on the box, each pointing its Solr home to a different disk. In this case, the value reported for the freedisk snitch value is wrong, because it's based on the root filesystem space.

      Patch changes this to use solr home from the CoreContainer.

        Attachments

        1. SOLR-9381.patch
          4 kB
          Tim Owen
        2. SOLR-9381.patch
          3 kB
          Tim Owen

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              TimOwen Tim Owen
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: