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

handle failed removals #13

Open
Simbiat opened this issue Dec 9, 2024 · 0 comments
Open

handle failed removals #13

Simbiat opened this issue Dec 9, 2024 · 0 comments

Comments

@Simbiat
Copy link
Owner

Simbiat commented Dec 9, 2024

practice showed that in some cases removal of instances can fail (in my case because of deadlocks). This is fine when removal is done manually, since there will be output to the user, but if it fails in automation with one-time jobs, it becomes a problem, since a one-time job may get ran twice, which may have side-effects. the only approach I can thing of right now is to have a separate table like failed to remove and exclude all instances that are there, and clean those as part of unhanging process, but not sure how good this is. It is probably not urgent, though, since really one-time job should be deigned in a way, that will not do damage if ran multiple times anyway.

@Simbiat Simbiat converted this from a draft issue Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Planned
Development

No branches or pull requests

1 participant