clean ongoing open index outputs when closing the recovery action

This commit is contained in:
kimchy 2010-02-24 00:37:05 +02:00
parent aa54e9cc35
commit 78d9ab103a
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ public class RecoveryAction extends AbstractIndexShardComponent {
transportService.removeHandler(startTransportAction);
transportService.removeHandler(fileChunkTransportAction);
transportService.removeHandler(snapshotTransportAction);
cleanOpenIndex();
}
public synchronized void startRecovery(Node node, Node targetNode, boolean markAsRelocated) throws ElasticSearchException {