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

ruler: fix native histogram recording rule result corruption #7552

Merged
merged 4 commits into from
Mar 7, 2024

Conversation

krajorama
Copy link
Contributor

@krajorama krajorama commented Mar 6, 2024

What this PR does

We were copying the address of a loop variable for native histograms, causing the result of recording rules being corrupted.

Which issue(s) this PR fixes or relates to

Fixes: N/A

Checklist

  • Tests updated.
  • N/A Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • N/A about-versioning.md updated with experimental features.

@krajorama krajorama requested review from a team as code owners March 6, 2024 12:21
We were copying the address of a loop variable for native histograms,
causing the result of recording rules being corrupted.

Signed-off-by: György Krajcsovits <[email protected]>
Signed-off-by: György Krajcsovits <[email protected]>
Signed-off-by: György Krajcsovits <[email protected]>
@krajorama krajorama enabled auto-merge (squash) March 6, 2024 14:24
Copy link
Contributor

@charleskorn charleskorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

Signed-off-by: György Krajcsovits <[email protected]>
@krajorama krajorama merged commit 71612c2 into main Mar 7, 2024
29 checks passed
@krajorama krajorama deleted the krajo/fix branch March 7, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants