You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2014/12/23 02:30:13 UTC

[jira] [Commented] (SOLR-6882) ReplicaMutator.addReplicaProperty() misspells the ADDREPLICAPROP collection API action as SETREPLICAPROPERTY in a couple exception messages

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

Steve Rowe commented on SOLR-6882:
----------------------------------

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