add stream done when there is no file (should not happen)

This commit is contained in:
kimchy 2010-08-20 15:59:46 +03:00
parent b609162be3
commit 07285d81d1
1 changed files with 1 additions and 0 deletions

View File

@ -645,6 +645,7 @@ public abstract class BlobStoreIndexShardGateway extends AbstractIndexShardCompo
} }
if (!blobs.containsKey(firstFileToRecover)) { if (!blobs.containsKey(firstFileToRecover)) {
// no file, what to do, what to do? // no file, what to do, what to do?
recoveryThrottler.streamDone(shardId, fileToRecover.name());
logger.warn("no file [{}] to recover, even though it has md5, ignoring it", fileToRecover.name()); logger.warn("no file [{}] to recover, even though it has md5, ignoring it", fileToRecover.name());
latch.countDown(); latch.countDown();
return; return;