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

Reset avg accumulator correctly #541

Merged
merged 1 commit into from
Mar 24, 2025
Merged

Conversation

harry671003
Copy link
Contributor

@harry671003 harry671003 commented Mar 24, 2025

Issue

This bug was introduced in #487.
When acc.Reset() is called all the parameters should be reset to their defaults.

The issue was captured in our continuous correctness tests.

Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
@harry671003 harry671003 marked this pull request as ready for review March 24, 2025 16:59
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks

@yeya24 yeya24 merged commit d17b9bd into thanos-io:main Mar 24, 2025
6 of 7 checks passed
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.

3 participants