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

Retry buffered changes application #127

Open
jeromegn opened this issue Dec 22, 2023 · 0 comments
Open

Retry buffered changes application #127

jeromegn opened this issue Dec 22, 2023 · 0 comments

Comments

@jeromegn
Copy link
Member

Sometimes we get an error applying partially buffered changes because there's a schema change that doesn't fit or some other random retryable error.

Instead of forgetting about the buffered change (Corrosion only forgets in-memory, still kept in the DB), we should re-queue them somewhere to try again later. For schema errors like constraint failed, we could retry applying buffered changes when there's a new schema applied.

For other errors, maybe just a short timer.

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