SOLR-6206: The migrate collection API fails on retry if temp collection already exists

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605771 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-06-26 12:58:19 +00:00
parent 54b11b3eba
commit c296d9df0f
2 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,9 @@ Bug Fixes
* SOLR-6197: The MIGRATE collection API doesn't work when legacyCloud=false is set
in cluster properties. (shalin)
* SOLR-6206: The migrate collection API fails on retry if temp collection already exists.
(shalin)
Other Changes
---------------------

View File

@ -1762,6 +1762,7 @@ public class OverseerCollectionProcessor implements Runnable, ClosableThread {
try {
deleteCollection(new ZkNodeProps(props), results);
clusterState = zkStateReader.getClusterState();
} catch (Exception e) {
log.warn("Unable to clean up existing temporary collection: " + tempSourceCollectionName, e);
}