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

Add a spins metric for all directory paths

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: metrics
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      See org.apache.lucene.util.IOUtils.spins. It currently only works for linux and is used by ConcurrentMergeScheduler to set defaults for maxThreadCount and maxMergeCount.

      We should expose this as a metric for solr.data.home and each core's data dir. One thing to note is that the CMS overrides the value detected by the spins method using lucene.cms.override_spins system property. This property is supposed to be for tests but if it is set then the metrics API should also take that into account.

        Attachments

        1. SOLR-11061.patch
          5 kB
          Andrzej Bialecki

          Issue Links

            Activity

              People

              • Assignee:
                ab Andrzej Bialecki
                Reporter:
                shalinmangar Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: