From a186d218c2cd30e8f1d4297fe6c3cea158548881 Mon Sep 17 00:00:00 2001 From: Sachin Kale Date: Wed, 4 Oct 2023 08:53:44 +0530 Subject: [PATCH] Change log level Signed-off-by: Sachin Kale --- .../java/org/opensearch/snapshots/SnapshotShardsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java b/server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java index d208e323b3012..1c25d8c71f948 100644 --- a/server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java +++ b/server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java @@ -412,7 +412,7 @@ private void snapshot( indexShard.acquireLockOnCommitData(snapshot.getSnapshotId().getUUID(), primaryTerm, commitGeneration); } catch (NoSuchFileException e) { wrappedSnapshot.close(); - logger.info( + logger.warn( "Exception while acquiring lock on primaryTerm = {} and generation = {}", primaryTerm, commitGeneration