Skip to content

Add analyzer status update mutex based on root namespace

What does this MR do and why?

Adds a mutex to the PipelineAnalyzersStatusUpdateWorker, scoped to the root namespace of the pipeline's project. This mutex helps prevent concurrent updates to the same analyzer_namespace_status records when propagating counters up the tree.

Changelog: added
EE: true

Related issue

DB level deadlocked in AncestorsUpdateService (#554543 - closed) • Gal Katz • 18.3

Merge request reports

Loading