mirror of https://github.com/grafana/loki
[release-2.9.x] Ruler: catering for another data race in tenant config (#11714)
Backportpull/11760/head61a4205313
from #11612 --- Expands on #11601 **What this PR does / why we need it**: Turns out the previous tests didn't expose all possible causes for data races (another one occurs at5a55158cc7/pkg/ruler/registry.go (L204)
). Moving the mutex to the calling function adds more safety. **Which issue(s) this PR fixes**: Fixes #11569 Co-authored-by: Danny Kopping <danny.kopping@grafana.com>
parent
c28f12be8e
commit
94f97fb52d
Loading…
Reference in new issue