SOLR-12750: Migrate API should lock the collection instead of shard

This commit is contained in:
Shalin Shekhar Mangar 2018-10-03 16:24:26 +05:30
parent 65105aa81b
commit 84683b6aa0
2 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,8 @@ Bug Fixes
* SOLR-12648: Autoscaling framework based replica placement is not used unless a policy is specified or * SOLR-12648: Autoscaling framework based replica placement is not used unless a policy is specified or
non-empty cluster policy exists. (shalin) non-empty cluster policy exists. (shalin)
* SOLR-12750: Migrate API should lock the collection instead of shard. (shalin)
================== 7.5.0 ================== ================== 7.5.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -86,7 +86,7 @@ public interface CollectionParams {
CREATESHARD(true, LockLevel.COLLECTION), CREATESHARD(true, LockLevel.COLLECTION),
DELETEREPLICA(true, LockLevel.SHARD), DELETEREPLICA(true, LockLevel.SHARD),
FORCELEADER(true, LockLevel.SHARD), FORCELEADER(true, LockLevel.SHARD),
MIGRATE(true, LockLevel.SHARD), MIGRATE(true, LockLevel.COLLECTION),
ADDROLE(true, LockLevel.NONE), ADDROLE(true, LockLevel.NONE),
REMOVEROLE(true, LockLevel.NONE), REMOVEROLE(true, LockLevel.NONE),
CLUSTERPROP(true, LockLevel.NONE), CLUSTERPROP(true, LockLevel.NONE),