DBZ-3194 Allow ORA-01284 errors to be retried

This commit is contained in:
Chris Cranford 2021-02-25 21:38:08 -05:00 committed by Gunnar Morling
parent addec8f8a3
commit ddb1498d1d

View File

@ -35,6 +35,7 @@ protected boolean isRetriable(Throwable throwable) {
throwable.getMessage().startsWith("ORA-00604") || // error occurred at recursive SQL level 1
throwable.getMessage().startsWith("ORA-01089") || // Oracle immediate shutdown in progress
throwable.getMessage().startsWith("ORA-01333") || // Failed to establish LogMiner dictionary
throwable.getMessage().startsWith("ORA-01284") || // Redo/Archive log cannot be opened, likely locked
throwable.getCause() instanceof IOException ||
throwable instanceof SQLRecoverableException ||
throwable.getMessage().toUpperCase().startsWith("NO MORE DATA TO READ FROM SOCKET") ||