Skip to content

Conversation

@markstory
Copy link
Member

If a deletion is aborted via an undelete then we don't need to fire the pending_delete signal. Firing this signal when the delete is not going to proceed has led to organizations not being un-deleteable as the cleanup jobs for subscriptions in getsentry re-delete the organization.

I've also added an easier to operate cancel feature to ScheduledDeletion that allows us to skip some work when a record is undeleted.

If a deletion is aborted via an undelete then we don't need to fire the
pending_delete signal. Firing this signal when the delete is not going
to proceed has led to organizations not being un-deleteable as the
cleanup jobs for subscriptions in getsentry re-delete the organization.

I've also added an easier to operate cancel feature to ScheduledDeletion
that allows us to skip some work when a record is undeleted.
@markstory markstory requested a review from a team October 20, 2021 16:27
@markstory markstory merged commit fe1e241 into master Oct 21, 2021
@markstory markstory deleted the feat-deletion-cancel-api branch October 21, 2021 15:48
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2021
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.

3 participants