Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Aurora failover #85

Open
gh-axel-czarniak opened this issue Jan 20, 2025 · 0 comments
Open

Handle Aurora failover #85

gh-axel-czarniak opened this issue Jan 20, 2025 · 0 comments

Comments

@gh-axel-czarniak
Copy link

Hello,

We made some test with your gems to handle failover on RDS Aurora database but we were not successful.

It looks like you are expecting [::PG::UnableToSend, ::PG::ConnectionBad] to detect a failover but not the one we have when this happen: PG::ReadOnlySqlTransaction: ERROR: cannot execute INSERT in a read-only transaction (ActiveRecord::StatementInvalid)

Is it expected behavior from your gem ?

Thanks for helping !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant