Skip to content

Commit

Permalink
Fix for searchable snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <[email protected]>
  • Loading branch information
Sachin Kale committed Sep 14, 2023
1 parent f55a041 commit 6b0ab08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2370,7 +2370,7 @@ private void innerOpenEngineAndTranslog(LongSupplier globalCheckpointSupplier, b
// so before that step, we are deleting the translog files present in remote store.
deleteTranslogFilesFromRemoteTranslog();
}
} else {
} else if (syncFromRemote) {
final SegmentInfos lastCommittedSegmentInfos = store().readLastCommittedSegmentsInfo();
final String translogUUID = lastCommittedSegmentInfos.userData.get(TRANSLOG_UUID_KEY);
final long checkpoint = Long.parseLong(lastCommittedSegmentInfos.userData.get(SequenceNumbers.LOCAL_CHECKPOINT_KEY));
Expand Down

0 comments on commit 6b0ab08

Please sign in to comment.