[
https://issues.apache.org/jira/browse/SOLR-9321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028704#comment-16028704
]
Jason Gerlowski commented on SOLR-9321:
---------------------------------------
The attached patch replaces calls to each ClusterState method with
{{clusterState.getCollection.SomeSliceRelatedMethod}}. It doesn't change the
error-case handling around each of this uses though. The direct ClusterState
methods will return {{null}} when the collection information cannot be found;
the non-deprecated replacement calls throw a SolrException instead. Ends up
causing a lot of test failures with the patch as is.
In the process of changing out the error handling for some of these calls.
Will update the patch when I can get tests passing locally.
> Removed usage of deprecated clusterstate.getSlicesMap(), getSlices() and
> getActiveSlices()
> ------------------------------------------------------------------------------------------
>
> Key: SOLR-9321
> URL: https://issues.apache.org/jira/browse/SOLR-9321
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Ishan Chattopadhyaya
> Priority: Minor
> Attachments: SOLR-9321.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]