You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Andrzej Bialecki (Jira)" <ji...@apache.org> on 2021/07/26 15:30:00 UTC

[jira] [Created] (SOLR-15565) Optimize CLUSTERSTATUS when filtering by collection

Andrzej Bialecki created SOLR-15565:
---------------------------------------

             Summary: Optimize CLUSTERSTATUS when filtering by collection
                 Key: SOLR-15565
                 URL: https://issues.apache.org/jira/browse/SOLR-15565
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Andrzej Bialecki
            Assignee: Andrzej Bialecki


When user specifies {{collection}} parameter in the {{CLUSTERSTATUS}} command one would expect that Solr retrieves and materializes only that collection state. Unfortunately, {{ClusterStatus.getClusterStatus}} retrieves the complete map, which in turn materializes all collection statuses. On large clusters with many large collections this is wasteful.

In this case, when user requests state information for some collection only, we should iterate just on the collection names and materialize only these collections' information.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org