improve handling of failure when trying to read md5, should be ignored on any exception, not just io exception
This commit is contained in:
parent
194e6cbff6
commit
e955e41a91
|
@ -762,7 +762,7 @@ public abstract class BlobStoreIndexShardGateway extends AbstractIndexShardCompo
|
||||||
cachedMd5.put(name, md5);
|
cachedMd5.put(name, md5);
|
||||||
}
|
}
|
||||||
builder.put(name, new PlainBlobMetaData(name, sizeInBytes, md5));
|
builder.put(name, new PlainBlobMetaData(name, sizeInBytes, md5));
|
||||||
} catch (IOException e) {
|
} catch (Exception e) {
|
||||||
// don't add it!
|
// don't add it!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue