mirror of https://github.com/apache/lucene.git
SOLR-3755: Mark indexDir to be deleted while unloading sub-shard cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c34cb858e
commit
6a7ff16d94
|
@ -344,6 +344,7 @@ public class OverseerCollectionProcessor implements Runnable, ClosableThread {
|
|||
ModifiableSolrParams params = new ModifiableSolrParams();
|
||||
params.set(CoreAdminParams.ACTION, CoreAdminAction.UNLOAD.toString());
|
||||
params.set(CoreAdminParams.CORE, core);
|
||||
params.set(CoreAdminParams.DELETE_INDEX, "true");
|
||||
sendShardRequest(replica.getNodeName(), params);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue