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

Use exponential backoff when restoring a crashed replication connection #2166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alco
Copy link
Member

@alco alco commented Dec 13, 2024

Fixes #1960.

I have manually verified that attempts to restore the replication connection now respect exponential backoff and that it eventually connects if I stop the other Electric instance that was holding the replication slot.

@alco alco force-pushed the alco/reconnection-backoff-on-replication-error branch from e7dab2f to 80833b3 Compare December 14, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing to acquire a replication slot puts server into a loop
1 participant