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

Remove possible blockages #74

Merged
merged 17 commits into from
Sep 29, 2023
Merged

Remove possible blockages #74

merged 17 commits into from
Sep 29, 2023

Conversation

jeromegn
Copy link
Member

This aims at reducing the possibilities of stalling w/ the following:

  • Don't interrupt long-running SQLite executions. They're pretty much always necessary. The only way that would be problematic is if we have a deadlock in Corrosion within a transaction.
  • Rewrite the compaction logic to do a single-ish query to get all cleared versions
  • Keep synchronizing in a loop until a synchronization completes successfully.

@jeromegn jeromegn merged commit b4dac80 into main Sep 29, 2023
4 checks passed
@jeromegn jeromegn deleted the no-interrupt branch September 29, 2023 12:25
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.

1 participant