Jason Gerlowski created SOLR-16834:
--------------------------------------
Summary: Remove unused AddReplicaCmd properties
Key: SOLR-16834
URL: https://issues.apache.org/jira/browse/SOLR-16834
Project: Solr
Issue Type: Task
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud
Affects Versions: main (10.0)
Reporter: Jason Gerlowski
AddReplicaCmd currently has logic to read and use a parameter called
'skipCreateReplicaInClusterState' (which defaults to false). Unfortunately,
CollectionsHandler doesn't actually pass that parameter.
It looks like the parameter was added for use by the autoscaling "simulation"
framework (see SOLR-11285). When that was cut from Solr later on the parameter
was removed from CollectionsHandler, but the corresponding change to
AddReplicaCmd was never made.
We should remove
[this|https://github.com/apache/solr/blob/c4a1b6ef2bb055b1b899677d01de704b6ecb620d/solr/core/src/java/org/apache/solr/cloud/api/collections/AddReplicaCmd.java#L122]
line from AddReplicaCmd, and any other references to that now-defunct param.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]