Skip to content

Commit

Permalink
Remove silent handling of IOException in reading SegmentInfosSnapshot
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <kalsac@amazon.com>
  • Loading branch information
Sachin Kale committed Dec 6, 2022
1 parent 01d1bd1 commit 4547ac4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,6 @@ private void recoverFromRemoteStore(IndexShard indexShard) throws IndexShardReco
);
long processedLocalCheckpoint = Long.parseLong(infosSnapshot.getUserData().get(LOCAL_CHECKPOINT_KEY));
store.commitSegmentInfos(infosSnapshot, processedLocalCheckpoint, processedLocalCheckpoint);
} catch (IOException e) {
logger.info("Exception while reading {}, falling back to commit level restore", segmentInfosSnapshotFilename);
}
}

Expand Down

0 comments on commit 4547ac4

Please sign in to comment.