Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-2.9.x] Cache: correctly check background cache size #11656

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

grafanabot
Copy link
Collaborator

Backport 88aaa7d from #11654


What this PR does / why we need it:
The size check was not being performed atomically, which led to flakiness in the TestBackgroundSizeLimit test.

**What this PR does / why we need it**:
The size check was not being performed atomically, which led to
flakiness in the `TestBackgroundSizeLimit` test.

---------

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
(cherry picked from commit 88aaa7d)
@grafanabot grafanabot requested a review from a team as a code owner January 11, 2024 11:38
@grafanabot grafanabot added backport size/XS type/bug Somehing is not working as expected labels Jan 11, 2024
@dannykopping dannykopping merged commit 80e0c18 into release-2.9.x Jan 11, 2024
6 checks passed
@dannykopping dannykopping deleted the backport-11654-to-release-2.9.x branch January 11, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/XS type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants