[ 
https://issues.apache.org/jira/browse/SOLR-16834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17737292#comment-17737292
 ] 

Jason Gerlowski commented on SOLR-16834:
----------------------------------------

Thanks for the digging here [~6harat], and good finds!

I still have a few questions I guess (e.g. Did the "move-replica" and 
"split-shard" cases just not work in all cases prior to the simulation 
framework?  Did they work some other way that avoided using this param?)
 
But on the whole it sounds like you're right - this JIRA was probably filed in 
error; I should've thought to look for non-HTTP usages of that parameter.  
Closing!

> 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
>            Priority: Minor
>              Labels: newdev
>
> 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]

Reply via email to