Skip to content

Commit 2b17e06

Browse files
committed
Skip load global checkpoint to replication tracker for remote indexes
Signed-off-by: Ashish Singh <ssashish@amazon.com>
1 parent 079c4d7 commit 2b17e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/opensearch/index/shard/IndexShard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ public void openEngineAndRecoverFromTranslog() throws IOException {
23172317
};
23182318

23192319
// Do not load the global checkpoint if this is a remote snapshot index
2320-
if (indexSettings.isRemoteSnapshot() == false) {
2320+
if (indexSettings.isRemoteSnapshot() == false && indexSettings.isRemoteTranslogStoreEnabled() == false) {
23212321
loadGlobalCheckpointToReplicationTracker();
23222322
}
23232323

0 commit comments

Comments
 (0)