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

Add a spins metric for all directory paths

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment