Prevent database deadlocks when deleting projects
What does this MR do and why?
Related to #346172 (closed) and #346172 (comment 851079961)
Manual pipelines can have cancelable
jobs that are not aborted before attempting to delete the pipeline which enqueues workers for processing, resulting in database deadlocks.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Marius Bobin