mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +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 {
|
private void restoreFile(BlobStoreIndexShardSnapshot.FileInfo fileInfo, Store store) throws IOException {
|
||||||
ensureNotClosing(store);
|
ensureNotClosing(store);
|
||||||
|
logger.trace(() -> new ParameterizedMessage("[{}] restoring [{}] to [{}]", metadata.name(), fileInfo, store));
|
||||||
boolean success = false;
|
boolean success = false;
|
||||||
try (IndexOutput indexOutput =
|
try (IndexOutput indexOutput =
|
||||||
store.createVerifyingOutput(fileInfo.physicalName(), fileInfo.metadata(), IOContext.DEFAULT)) {
|
store.createVerifyingOutput(fileInfo.physicalName(), fileInfo.metadata(), IOContext.DEFAULT)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user