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

Add a spins metric for all directory paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1, 8.0
    • metrics
    • 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

              ab Andrzej Bialecki
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: