Skip to content

Fix database cascade deletion for failed and banned tasks - #3195

Open
doomedraven wants to merge 7 commits into
masterfrom
fix-cleaner-db-cascades
Open

Fix database cascade deletion for failed and banned tasks#3195
doomedraven wants to merge 7 commits into
masterfrom
fix-cleaner-db-cascades

Conversation

@doomedraven

Copy link
Copy Markdown
Collaborator

Bypassing ORM cascades in bulk delete statements caused IntegrityErrors when deleting tasks with associated errors. Added database-level ondelete cascade to the Error model and integrated explicit error deletion in delete_tasks() to handle existing databases within the same transaction.

Bypassing ORM cascades in bulk delete statements caused IntegrityErrors
when deleting tasks with associated errors. Added database-level ondelete
cascade to the Error model and integrated explicit error deletion in
delete_tasks() to handle existing databases within the same transaction.
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.

1 participant