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

Steve Rowe edited comment on SOLR-6882 at 12/23/14 1:30 AM:
------------------------------------------------------------

Another misspelling, {{ReplicaMutator.removeReplicaProperty()}}: 
{{DELETEREPLICAPROP}} misspelled as {{DELETEREPLICAPROPERTY}}:

{code:java|title:ReplicaMutator.java}
156:  public ZkWriteCommand removeReplicaProperty(ClusterState clusterState, 
ZkNodeProps message) {
[...]
161:      throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
162:          "Overseer DELETEREPLICAPROPERTY requires " +
163:              ZkStateReader.COLLECTION_PROP + " and " + 
ZkStateReader.SHARD_ID_PROP + " and " +
164:              ZkStateReader.REPLICA_PROP + " and " + 
ZkStateReader.PROPERTY_PROP + " no action taken.");
{code}


was (Author: steve_rowe):
Another misspelling, {{ReplicaMutator.removeReplicaProperty()}}: 
{{DELETEREPLICAPROP}} misspelled as {{DELETEREPLICAPROPERTY}}:

{code:java|title:ReplicaMutator.java}}
156:  public ZkWriteCommand removeReplicaProperty(ClusterState clusterState, 
ZkNodeProps message) {
[...]
161:      throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
162:          "Overseer DELETEREPLICAPROPERTY requires " +
163:              ZkStateReader.COLLECTION_PROP + " and " + 
ZkStateReader.SHARD_ID_PROP + " and " +
164:              ZkStateReader.REPLICA_PROP + " and " + 
ZkStateReader.PROPERTY_PROP + " no action taken.");
{code}

> ReplicaMutator.addReplicaProperty() misspells the ADDREPLICAPROP collection 
> API action as SETREPLICAPROPERTY in a couple exception messages
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6882
>                 URL: https://issues.apache.org/jira/browse/SOLR-6882
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Trivial
>
> {code:java|title=ReplicaMutator.java}
>  90:  public ZkWriteCommand addReplicaProperty(ClusterState clusterState, 
> ZkNodeProps message) {
> [...]
>  96:      throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
>  97:          "Overseer SETREPLICAPROPERTY requires " +
>  98:              ZkStateReader.COLLECTION_PROP + " and " + 
> ZkStateReader.SHARD_ID_PROP + " and " +
>  99:             ZkStateReader.REPLICA_PROP + " and " + 
> ZkStateReader.PROPERTY_PROP + " and " +
> 100:              ZkStateReader.PROPERTY_VALUE_PROP + " no action taken.");
> [...]
> 118:        throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, 
> "Overseer SETREPLICAPROPERTY for " +
> 119:            property + " cannot have " + 
> OverseerCollectionProcessor.SHARD_UNIQUE + " set to anything other than" +
> 120:            "'true'. No action taken");
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to