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:05:17 UTC

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

Steve Rowe created SOLR-6882:
--------------------------------

             Summary: 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