mirror of https://github.com/apache/lucene.git
SOLR-4741: Deleting a collection should set DELETE_DATA_DIR to true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470255 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
328cb6c744
commit
8aa09aeca0
|
@ -54,6 +54,12 @@ Upgrading from Solr 4.3.0
|
|||
Detailed Change List
|
||||
----------------------
|
||||
|
||||
Bug Fixes
|
||||
----------------------
|
||||
|
||||
* SOLR-4741: Deleting a collection should set DELETE_DATA_DIR to true.
|
||||
(Mark Miller)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -167,6 +167,7 @@ public class OverseerCollectionProcessor implements Runnable, ClosableThread {
|
|||
ModifiableSolrParams params = new ModifiableSolrParams();
|
||||
params.set(CoreAdminParams.ACTION, CoreAdminAction.UNLOAD.toString());
|
||||
params.set(CoreAdminParams.DELETE_INSTANCE_DIR, true);
|
||||
params.set(CoreAdminParams.DELETE_DATA_DIR, true);
|
||||
collectionCmd(zkStateReader.getClusterState(), message, params, results, null);
|
||||
|
||||
ZkNodeProps m = new ZkNodeProps(Overseer.QUEUE_OPERATION,
|
||||
|
|
Loading…
Reference in New Issue