Andrzej Bialecki created SOLR-15577:
---------------------------------------
Summary: 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
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]