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

support canceling long-running backup/restore operations #308

Merged
merged 4 commits into from
Nov 6, 2023

Conversation

vroldanbet
Copy link
Contributor

The restore and backup commands can take long depending on the number of relationships. I found myself trying to abort some instances of those command and zed wouldn't react to Control+C. The reason was that context cancelation wasn't being checked.

With this change the operation will abort immediately ⚡

@vroldanbet vroldanbet self-assigned this Nov 6, 2023
@vroldanbet vroldanbet requested a review from jzelinskie November 6, 2023 11:57
@vroldanbet vroldanbet force-pushed the support-canceling-bulk-load branch 3 times, most recently from b436fb3 to 6ec8662 Compare November 6, 2023 12:42
@vroldanbet vroldanbet force-pushed the support-canceling-bulk-load branch from 6ec8662 to 4847521 Compare November 6, 2023 12:55
@jzelinskie jzelinskie added this pull request to the merge queue Nov 6, 2023
Merged via the queue into main with commit 7942023 Nov 6, 2023
15 checks passed
@jzelinskie jzelinskie deleted the support-canceling-bulk-load branch November 6, 2023 14:40
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants