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

DM-30140: Allow trash to take iterable of dataset refs #521

Merged
merged 3 commits into from May 13, 2021
Merged

Conversation

timj
Copy link
Member

@timj timj commented May 12, 2021

This is much much faster than calling trash on each ref separately. Also remove the existence check since if we are asking for a dataset to be trashed it is not really that important if the dataset has already disappeared and that could just be caused by someone else pruning a collection in parallel.

@timj timj requested a review from TallJimbo May 12, 2021 22:00
timj added 3 commits May 12, 2021 16:42
This is much much faster than calling trash on each ref
separately. Also remove the existence check since if we are
asking for a dataset to be trashed it is not really that
important if the dataset has already disappeared and that
could just be caused by someone else prunning a collection
in parallel.
The indirection was not helping anything since it only included
one call that was generic.
@timj timj merged commit 6c5b53f into master May 13, 2021
@timj timj deleted the tickets/DM-30140 branch May 13, 2021 02:49
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.

None yet

2 participants