mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[STORE] add debug logging if delete fails
This commit is contained in:
parent
9700fe0367
commit
1848d1ba8b
@ -565,7 +565,8 @@ public class Store extends AbstractIndexShardComponent implements Closeable, Ref
|
||||
if (!sourceMetaData.contains(existingFile) && !Store.isChecksum(existingFile)) {
|
||||
try {
|
||||
dir.deleteFile(reason, existingFile);
|
||||
} catch (Exception e) {
|
||||
} catch (Exception ex) {
|
||||
logger.debug("failed to delete file [{}]", ex, existingFile);
|
||||
// ignore, we don't really care, will get deleted later on
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user