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

Improve CoreAdmin STATUS request response time by allowing user to omit the Index info

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0, 4.1, 6.0
    • 4.1, 6.0
    • multicore

    Description

      In large multicore environments (hundreds+ of cores), the STATUS request may take a fair amount of time.
      It seems that the majority of time is spent retrieving the index related info.

      The suggested improvement allows the user to specify a parameter (indexInfo) that if 'false' then index related info (such as segmentCount, sizeInBytes, numDocs, etc.) will not be retrieved. By default, the indexInfo will be 'true' (to maintain existing STATUS request behavior).

      For example, when tested on a given machine with 380+ solr cores, the full STATUS request took 800ms-900ms, whereas using indexInfo=false returned results in about 1ms-4ms.

      Attachments

        1. SOLR-4302.patch
          5 kB
          Shahar Davidson

        Activity

          shahar.davidson Shahar Davidson added a comment - - edited

          Attached suggested patch SOLR-4302.patch. apply over trunk 1404975

          shahar.davidson Shahar Davidson added a comment - - edited Attached suggested patch SOLR-4302 .patch. apply over trunk 1404975
          commit-tag-bot Commit Tag Bot added a comment -

          [trunk commit] Shalin Shekhar Mangar
          http://svn.apache.org/viewvc?view=revision&revision=1432901

          SOLR-4302: New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information

          commit-tag-bot Commit Tag Bot added a comment - [trunk commit] Shalin Shekhar Mangar http://svn.apache.org/viewvc?view=revision&revision=1432901 SOLR-4302 : New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information

          Committed to trunk and branch_4x.

          Thanks Shahar!

          shalin Shalin Shekhar Mangar added a comment - Committed to trunk and branch_4x. Thanks Shahar!
          commit-tag-bot Commit Tag Bot added a comment -

          [branch_4x commit] Shalin Shekhar Mangar
          http://svn.apache.org/viewvc?view=revision&revision=1432903

          SOLR-4302: New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information

          commit-tag-bot Commit Tag Bot added a comment - [branch_4x commit] Shalin Shekhar Mangar http://svn.apache.org/viewvc?view=revision&revision=1432903 SOLR-4302 : New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information

          People

            shalin Shalin Shekhar Mangar
            shahar.davidson Shahar Davidson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: