You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix LocalTranslogTests handling of corrupted translog recovery (#19177)
Partial writes can corrupt translog files during simulated failures.
When recovering these files, TranslogCorruptedException is thrown but
wasn't caught since it extends OpenSearchException, not TranslogException.
Add TranslogCorruptedException to catch blocks alongside other expected
exceptions during translog recovery attempts.
Signed-off-by: Atri Sharma <atri.jiit@gmail.com>
0 commit comments