Skip to content

Commit

Permalink
Do not throw exception on failure
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <[email protected]>
  • Loading branch information
Sachin Kale committed Oct 23, 2023
1 parent 6a64edb commit e0a596a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3403,7 +3403,7 @@ private void postActivatePrimaryMode() {
try {
getEngine().translogManager().syncTranslog();
} catch (IOException e) {
throw new IllegalStateException("Failed to sync translog to remote from new primary", e);
logger.error("Failed to sync translog to remote from new primary", e);
}
}
ensurePeerRecoveryRetentionLeasesExist();
Expand Down

0 comments on commit e0a596a

Please sign in to comment.