You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2023/06/01 12:18:00 UTC

[jira] [Commented] (SOLR-16834) Remove unused AddReplicaCmd properties

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

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

This would make a great newdev ticket if anyone is willing to pick it up!

> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org