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

Allow Retrying of Deletion #664

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Allow Retrying of Deletion #664

merged 1 commit into from
Jul 10, 2024

Conversation

czaloom
Copy link
Collaborator

@czaloom czaloom commented Jul 10, 2024

Problem Description

If a deletion job gets cancelled or hits its timeout then an zombie row can be created.

This occurs as the existing dataset and model deletion functions rely on getter/setter functions that filter out rows with DELETING states.

From the user perspective this produces a very frustrating response where you get DatasetAlreadyExistsError when creating a dataset and DatasetDoesNotExistError when you try to delete it.

Feature Description

Remove reliance on external getter/setter functions in dataset and model deletion methods so that they can be run repeatedly.

@czaloom czaloom linked an issue Jul 10, 2024 that may be closed by this pull request
3 tasks
@czaloom czaloom self-assigned this Jul 10, 2024
@czaloom czaloom added bug Something isn't working improvement labels Jul 10, 2024
@czaloom czaloom marked this pull request as ready for review July 10, 2024 15:38
@czaloom czaloom requested review from ntlind and ekorman as code owners July 10, 2024 15:38
@czaloom czaloom merged commit eedc003 into main Jul 10, 2024
12 checks passed
@czaloom czaloom deleted the czaloom-deletion-retry branch July 10, 2024 15:48
ntlind pushed a commit that referenced this pull request Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Allow Deletion Retry
2 participants