mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
Requested by the performance team and generally potentially useful to log each file at `TRACE` like we do for snapshot create.
This commit is contained in:
parent
0be89bcd7f
commit
0d5250c99b
@ -2104,6 +2104,7 @@ public abstract class BlobStoreRepository extends AbstractLifecycleComponent imp
|
||||
|
||||
private void restoreFile(BlobStoreIndexShardSnapshot.FileInfo fileInfo, Store store) throws IOException {
|
||||
ensureNotClosing(store);
|
||||
logger.trace(() -> new ParameterizedMessage("[{}] restoring [{}] to [{}]", metadata.name(), fileInfo, store));
|
||||
boolean success = false;
|
||||
try (IndexOutput indexOutput =
|
||||
store.createVerifyingOutput(fileInfo.physicalName(), fileInfo.metadata(), IOContext.DEFAULT)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user