You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2024/10/31 13:08:00 UTC
[jira] [Updated] (SOLR-17535) Remove ClusterState.getCollectionStates() and getCollectionsMap()
[ https://issues.apache.org/jira/browse/SOLR-17535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley updated SOLR-17535:
--------------------------------
Description: To avoid creating intermediary maps for ClusterState consumers, and to limit the direct usages of CollectionRef, I propose removing both getCollectionStates and getCollectionsMap. This also unblocks future changes to work in a more scalable manner. Instead, callers can use forEachCollection or a new {{Stream<DocCollection>}} one proposed here. (was: To avoid creating intermediary maps for ClusterState consumers, I propose removing both getCollectionStates and getCollectionsMap. This also unblocks future changes to work in a more scalable manner. Instead, callers can use forEachCollection or a new \{{Stream<DocCollection>}} one proposed here.)
> Remove ClusterState.getCollectionStates() and getCollectionsMap()
> -----------------------------------------------------------------
>
> Key: SOLR-17535
> URL: https://issues.apache.org/jira/browse/SOLR-17535
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Major
>
> To avoid creating intermediary maps for ClusterState consumers, and to limit the direct usages of CollectionRef, I propose removing both getCollectionStates and getCollectionsMap. This also unblocks future changes to work in a more scalable manner. Instead, callers can use forEachCollection or a new {{Stream<DocCollection>}} one proposed here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org