Draft: Remove pipeline persisted ref only one at a time [backport to 15.11]
What does this MR do and why?
This backports the !123976 (merged) into 15.11.
This MR is not meant to be merged, it is for validation purposes.
Remove pipeline persisted ref only one at a time
This workarounds a problem a concurrency problem on Gitaly that might result in replication lost.
This should properly be fixed on Gitaly, this serves more like a temporary remedy. The worker and associated feature flag should be removed once Gitaly fix is done.
Related to:
How to set up and validate locally
Feature.enable(: pipeline_cleanup_ref_worker_async)
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 Kamil Trzciński (Back 2025-01-01)