Skip to content

Prevent database deadlocks when deleting projects

Marius Bobin requested to merge 346172-fix-database-deadlocks into master

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

image

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.

Edited by Marius Bobin

Merge request reports