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

Fix Parallel walk edge-case panic #563

Merged
merged 2 commits into from
Mar 16, 2023
Merged

Fix Parallel walk edge-case panic #563

merged 2 commits into from
Mar 16, 2023

Conversation

jacksontj
Copy link
Owner

@jacksontj jacksontj commented Mar 16, 2023

As reported in #562 with the new parallel walking there is an edge case causing panics. None of the tests cases caught this and it took a while to find a repro case, but was able to find that something like:

max_over_time(prometheus_build_info[5m]) + prometheus_build_info

this PR adds a test for this case (which was able to repro is locally and in CI) and includes a fix to make that case pass.

Fixes #562

@jacksontj jacksontj changed the title Add test case for #562 Fix Parallel walk edge-case panic Mar 16, 2023
@jacksontj jacksontj marked this pull request as ready for review March 16, 2023 16:29
@jacksontj jacksontj mentioned this pull request Mar 16, 2023
@jacksontj jacksontj merged commit 9aadefb into master Mar 16, 2023
@jacksontj jacksontj deleted the issue_562 branch March 16, 2023 16:40
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.

panic on v0.0.76
1 participant