mirror of https://github.com/apache/lucene.git
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:
parent
f16af7afc0
commit
3d9b888f0f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue