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

Archive each table independently #606

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Archive each table independently #606

merged 2 commits into from
Nov 13, 2024

Conversation

spbnick
Copy link
Collaborator

@spbnick spbnick commented Nov 11, 2024

At the moment all operational tables are archived using a single timestamp for the lower boundary, which either loses us data, if they're uneven, or forces us to load duplicates to make sure we don't lose anything. This is because some databases don't support atomic modifications of multiple tables at once.

Work that around, by assigning separate time ranges to separate tables, when dumping.

Concerns #541

At the moment all operational tables are archived using a single
timestamp for the lower boundary, which either loses us data, if they're
uneven, or forces us to load duplicates to make sure we don't lose
anything. This is because some databases don't support atomic
modifications of multiple tables at once.

Work that around, by assigning separate time ranges to separate tables,
when dumping.
@spbnick spbnick merged commit 40a0a2b into main Nov 13, 2024
6 checks passed
@spbnick spbnick deleted the archive_tables_separately branch November 13, 2024 11:05
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