Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6882

Misspelled collection API actions in ReplicaMutator exception messages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0, 6.0
    • Fix Version/s: 5.0, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      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");
      

        Attachments

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              steve_rowe Steve Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: