From 5c405608cf4ab241c4eef9a0804031745ce4d592 Mon Sep 17 00:00:00 2001 From: Sachin Kale Date: Wed, 9 Oct 2024 20:01:34 +0530 Subject: [PATCH] Add more tests Signed-off-by: Sachin Kale --- .../index/translog/RemoteFsTimestampAwareTranslog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/main/java/org/opensearch/index/translog/RemoteFsTimestampAwareTranslog.java b/server/src/main/java/org/opensearch/index/translog/RemoteFsTimestampAwareTranslog.java index 3ccacde22bbfc..cf559690e9e73 100644 --- a/server/src/main/java/org/opensearch/index/translog/RemoteFsTimestampAwareTranslog.java +++ b/server/src/main/java/org/opensearch/index/translog/RemoteFsTimestampAwareTranslog.java @@ -240,6 +240,7 @@ public void onResponse(List blobMetadata) { remoteGenerationDeletionPermits.release(); } } catch (Exception e) { + logger.error("Exception in trimUnreferencedReaders", e); remoteGenerationDeletionPermits.release(REMOTE_DELETION_PERMITS); } }