You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2014/09/30 03:39:09 UTC

Review Request 26161: SOLR-6512: Add a collections API call to add/delete arbitrary properties to a specific replica

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26161/
-----------------------------------------------------------

Review request for lucene.


Repository: lucene


Description
-------

This allows us to add properties to a replica, it takes a collection/slice/replica triplet along with a property.

There is exactly one known "sliceUnique" property at present, preferredLeader. Arbitrary properties can be assigned a "sliceUnique" attribute though.

If sliceUnique==false, then there are no restrictions on how many replicas can have an property/value pair.


Diffs
-----

  trunk/solr/core/src/java/org/apache/solr/cloud/Overseer.java 1628219 
  trunk/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java 1628219 
  trunk/solr/core/src/java/org/apache/solr/handler/admin/CollectionsHandler.java 1628219 
  trunk/solr/core/src/test/org/apache/solr/cloud/DeleteReplicaTest.java 1628219 
  trunk/solr/core/src/test/org/apache/solr/cloud/TestCollectionAPI.java 1628219 
  trunk/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java 1628219 
  trunk/solr/solrj/src/java/org/apache/solr/common/params/CollectionParams.java 1628219 

Diff: https://reviews.apache.org/r/26161/diff/


Testing
-------

Unit tests are in place.


Thanks,

Erick Erickson