[
https://issues.apache.org/jira/browse/SOLR-15577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrzej Bialecki resolved SOLR-15577.
-------------------------------------
Resolution: Implemented
No longer relevant since SOLR-17535.
> Avoid ClusterState.getCollectionsMap() when not necessary
> ---------------------------------------------------------
>
> Key: SOLR-15577
> URL: https://issues.apache.org/jira/browse/SOLR-15577
> Project: Solr
> Issue Type: Improvement
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
>
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]