[
https://issues.apache.org/jira/browse/SOLR-17381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872445#comment-17872445
]
ASF subversion and git services commented on SOLR-17381:
--------------------------------------------------------
Commit 961c3145dab6ffed3c4dd49026f66c015d207b59 in solr's branch
refs/heads/branch_9x from aparnasuresh85
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=961c3145dab ]
SOLR-17381: Make CLUSTERSTATUS configurable (#2599)
Make CLUSTERSTATUS configurable to improve performance by allowing retrieval of
specific information with these boolean parameters: liveNodes,
clusterProperties, aliases, roles, and includeAll
Updated SolrJ HttpClusterStateProvider (state from Solr nodes) to use these
parameters so that only required information is fetched and returned.
(cherry picked from commit c7af8b82db21f3a5fac9d588eafc9bd1dffffc7a)
> Make CLUSTERSTATUS request configurable
> ---------------------------------------
>
> Key: SOLR-17381
> URL: https://issues.apache.org/jira/browse/SOLR-17381
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Aparna Suresh
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 8h
> Remaining Estimate: 0h
>
> Fetching {{CLUSTERSTATUS}} remotely is resource-intensive and should be done
> with caution. Currently, if no parameters are specified, the call returns all
> information, including collections, shards, replicas, aliases, cluster
> properties, roles, and more. This can have significant performance
> implications for clients using a Solr cluster with thousands of collections.
> Several performance [issues|https://issues.apache.org/jira/browse/SOLR-14985]
> have been identified when switching {{CloudSolrClient}} to use HTTP-based
> CSP, particularly in two instances where the entire cluster state is fetched
> unnecessarily.
> *Proposal:* Modify the requests to retrieve only the necessary information,
> such as the cluster status for a specific collection, live nodes, or cluster
> properties. Ensure these changes maintain backward compatibility.
> Additionally, update the HTTP CSP to reflect these optimizations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]