SOLR-5473 use zk.clean() instead of zk.delete()

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626131 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2014-09-19 06:30:17 +00:00
parent f16af7afc0
commit 3d9b888f0f
1 changed files with 1 additions and 1 deletions

View File

@ -1239,7 +1239,7 @@ public class Overseer implements Closeable {
// but for tests (it's easier) it seems better for the moment to leave CoreContainer and/or
// ZkController out of the Overseer.
try {
zkClient.delete("/collections/" + collection, -1, true);
zkClient.clean("/collections/" + collection);
} catch (InterruptedException e) {
SolrException.log(log, "Cleaning up collection in zk was interrupted:" + collection, e);
Thread.currentThread().interrupt();