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

fix: terminate backend if replication slot is in use #482

Merged
merged 5 commits into from
Feb 16, 2023

Conversation

chasers
Copy link
Contributor

@chasers chasers commented Feb 15, 2023

  • matches on the specific error we get when a replication slot is in use
  • finds the backend id and terminates it
  • retries per usual

@vercel
Copy link

vercel bot commented Feb 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
realtime-demo ⬜️ Ignored (Inspect) Feb 16, 2023 at 7:00PM (UTC)

@chasers chasers requested review from w3b6x9 and abc3 and removed request for w3b6x9 February 15, 2023 23:54
@chasers chasers marked this pull request as ready for review February 16, 2023 19:02
@chasers chasers merged commit 85afc53 into main Feb 16, 2023
@chasers chasers deleted the fix/replication-slot-contention branch February 16, 2023 19:15
@chasers chasers mentioned this pull request Feb 16, 2023
chasers added a commit that referenced this pull request Feb 16, 2023
@kiwicopple
Copy link
Member

🎉 This PR is included in version 2.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@kiwicopple
Copy link
Member

🎉 This PR is included in version 2.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

3 participants