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: [email protected]
For additional commands, e-mail: [email protected]