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

Snitch for freedisk uses root path not Solr home

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.1, 7.0
    • 6.2.1, 6.3, 7.0
    • SolrCloud
    • 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
          3 kB
          Tim Owen
        2. SOLR-9381.patch
          4 kB
          Tim Owen

        Activity

          People

            noble.paul Noble Paul
            TimOwen Tim Owen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: