You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tim Owen (JIRA)" <ji...@apache.org> on 2016/08/04 13:05:20 UTC

[jira] [Created] (SOLR-9381) Snitch for freedisk uses root path not Solr home

Tim Owen created SOLR-9381:
------------------------------

             Summary: Snitch for freedisk uses root path not Solr home
                 Key: SOLR-9381
                 URL: https://issues.apache.org/jira/browse/SOLR-9381
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 6.1, master (7.0)
            Reporter: Tim Owen


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org