DBZ-4245: Handle SQL Server connection errors during database state transition

This commit is contained in:
Sergei Morozov 2021-11-04 18:25:34 -07:00 committed by Gunnar Morling
parent aa3ae05e22
commit b2df15cf39

View File

@ -32,6 +32,8 @@ protected boolean isRetriable(Throwable throwable) {
|| throwable.getMessage().contains("Connection timed out (Write failed)")
|| throwable.getMessage().contains("The connection has been closed.")
|| throwable.getMessage().contains("The connection is closed.")
|| throwable.getMessage().contains("The login failed.")
|| throwable.getMessage().contains("Try the statement later.")
|| throwable.getMessage().contains("Connection reset")
|| throwable.getMessage().contains("SHUTDOWN is in progress")
|| throwable.getMessage().contains("The server failed to resume the transaction")