From 3d9b888f0fba6805351477366d91918b8a6e8955 Mon Sep 17 00:00:00 2001 From: Noble Paul Date: Fri, 19 Sep 2014 06:30:17 +0000 Subject: [PATCH] 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 --- solr/core/src/java/org/apache/solr/cloud/Overseer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/cloud/Overseer.java b/solr/core/src/java/org/apache/solr/cloud/Overseer.java index b6257d88840..e417b12e519 100644 --- a/solr/core/src/java/org/apache/solr/cloud/Overseer.java +++ b/solr/core/src/java/org/apache/solr/cloud/Overseer.java @@ -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();