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

Move a collection's configSet name to state.json

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • SolrCloud
    • None

    Description

      It's a bit odd that a collection's state.json knows everything about a collection except for perhaps the most important pointer – the configSet name. Presently the configSet name is retrieved via ZkStateReader.getConfigName(collectionName) which looks at the zk path /collections/collectionName (an intermediate node) interpreted as a trivial JSON object. Combining the configSet name into state.json is simpler and also more efficient since many calls to grab the configset name already need the state.json (via a DocCollection object).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsmiley David Smiley
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h