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

feat: restore data in batches #174

Merged
merged 1 commit into from
Aug 20, 2024
Merged

feat: restore data in batches #174

merged 1 commit into from
Aug 20, 2024

Conversation

wwoytenko
Copy link
Contributor

@wwoytenko wwoytenko commented Aug 20, 2024

  • Introduced the --batch-size flag for the restore command.
  • The COPY command will complete after reaching the specified batch size, allowing for transaction state checks.
  • The transaction spans across all batches.
  • If an error occurs in any batch, all previous batches will be rolled back.

Closes 173

@wwoytenko wwoytenko added this to the v0.2b2 milestone Aug 20, 2024
@wwoytenko wwoytenko self-assigned this Aug 20, 2024
@wwoytenko wwoytenko force-pushed the feat/restore_data_by_batch branch from 43282da to b937f96 Compare August 20, 2024 09:04
* Introduced the --batch-size flag for the restore command.
* The COPY command will complete after reaching the specified batch size, allowing for transaction state checks.
* The transaction spans across all batches.
* If an error occurs in any batch, all previous batches will be rolled back.
@wwoytenko wwoytenko force-pushed the feat/restore_data_by_batch branch from b937f96 to d3ee98c Compare August 20, 2024 09:45
@wwoytenko wwoytenko merged commit 14e328e into main Aug 20, 2024
15 checks passed
@wwoytenko wwoytenko deleted the feat/restore_data_by_batch branch August 30, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant