Migrating from RAC to Single Instance Switchover issues
Hello Experts,
our database has been already migrated from RAC to Single instance / Standby.
We are now migrating our Java application from RAC to Single instance. The application should be tolerant to switchover / failover scenarios as before.
We implemented a retry mechanism that should work seamlessly.
When a statement is executed and it fails with a SQLRecoverableException (due to switchover) we roll back the transaction get a new connection.
If the switchover is in progress, we get SQLRecoverableExceptions from the DriverManager.getConnection() call. As long as our retry count has not been reached we retry to get a connection (after a delay) again.