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

Implement retry system #143

Open
bplunkett-stripe opened this issue Jul 10, 2024 · 0 comments
Open

Implement retry system #143

bplunkett-stripe opened this issue Jul 10, 2024 · 0 comments

Comments

@bplunkett-stripe
Copy link
Collaborator

Even some fast-running migration statements need to acquire a an ACCESS_EXCLUSIVE_LOCK to update the table metadata. Acquiring this lock can be very tricky on high throughput databases, and it may transiently fail given a strict enough lock timeout. We should:

Plan generation: Define retry specs on some statements, where clients can determine if and how they want to retry
CLI: Implement a retry system that leverages the retry specs

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

No branches or pull requests

1 participant