[
https://issues.apache.org/jira/browse/SOLR-15577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrzej Bialecki updated SOLR-15577:
------------------------------------
Fix Version/s: 8.10
> Avoid ClusterState.getCollectionsMap() when not necessary
> ---------------------------------------------------------
>
> Key: SOLR-15577
> URL: https://issues.apache.org/jira/browse/SOLR-15577
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
> Fix For: 8.10
>
>
> I noticed that in a few places (eg. CollectionsHandler LIST_OP,
> ClusterStatus) when a simple list of available collections is needed the code
> invokes {{clusterState.getCollectionsMap()}}, which has to retrieve all
> collections information into memory. This should be replaced with something
> like {{clusterState.getCollectionStates().keySet()}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]