[
https://issues.apache.org/jira/browse/SOLR-8745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-8745:
----------------------------------------
Attachment: SOLR-8745.patch
Thanks for explaining.
This patch fixes a test failure in TestMiniSolrCloudCluster which was creating
a ZkStateReader and attempting to get cluster state without either calling
createClusterStateWatchers or updateClusterState. This test doesn't need to
create a new ZkStateReader. I fixed it to use the ZkStateReader from the
CloudSolrClient.
All tests and precommit checks pass. This is ready.
> Deprecate ZkStateReader.updateClusterState(), remove uses
> ---------------------------------------------------------
>
> Key: SOLR-8745
> URL: https://issues.apache.org/jira/browse/SOLR-8745
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Affects Versions: 5.4.1
> Reporter: Scott Blum
> Assignee: Shalin Shekhar Mangar
> Labels: patch, performance, solrcloud
> Attachments: SOLR-8745.patch, SOLR-8745.patch
>
>
> Forcing a full ZK cluster state update creates a lot of unnecessary work and
> load at scale. We need to deprecate and remove existing callers.
> - The one at the start of ClusterStateUpdater thread is fine, it's a one-time
> thing.
> - The one in OverseerCollectionMessageHandler is getting removed in SOLR-8722
> - The rest of them can be replaced with a version that only updates a single
> collection; not everything!
> Patch will be forthcoming.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]