[
https://issues.apache.org/jira/browse/SOLR-14341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369239#comment-17369239
]
ASF subversion and git services commented on SOLR-14341:
--------------------------------------------------------
Commit caca8279586ffecf9e6a6e80515d3fd531d06c85 in solr's branch
refs/heads/main from Nazerke Seidan
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=caca827 ]
SOLR-14341: Move configName into DocCollection (state.json) (#17)
SolrCloud: move the reference a collection has to a configSet in ZooKeeper from
the
collections/collectionName into its state.json. For many-collection
clusters, this is an
optimization when the cluster status is fetched.
Co-authored-by: Nazerke Seidan <[email protected]>
Co-authored-by: David Smiley <[email protected]>
> Move a collection's configSet name to state.json
> ------------------------------------------------
>
> Key: SOLR-14341
> URL: https://issues.apache.org/jira/browse/SOLR-14341
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Reporter: David Smiley
> Priority: Major
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> 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).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]