Skip to content

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Jun 8, 2020

What this PR does:
Fixed incorrect query results introduced in #2604 caused by a buffer incorrectly reused while iterating samples.

Draft PR until Prometheus upstream fix prometheus/prometheus#7361 won't be merged.

Which issue(s) this PR fixes:
N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pracucci pracucci requested a review from pstibrany June 8, 2020 16:35
… by a buffer incorrectly reused while iterating samples.

Signed-off-by: Marco Pracucci <[email protected]>
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

Amazing find with the bug! Pre-approving (pending upstream bugfix merge of course).

Signed-off-by: Marco Pracucci <[email protected]>
@pracucci pracucci force-pushed the fix-incorrect-query-results branch from 1234f40 to 634c0ed Compare June 9, 2020 07:56
pracucci and others added 2 commits June 9, 2020 09:56
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
@pracucci pracucci marked this pull request as ready for review June 9, 2020 07:56
pracucci added 2 commits June 9, 2020 10:01
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
@pracucci pracucci merged commit 45e2d46 into cortexproject:master Jun 9, 2020
@pracucci pracucci deleted the fix-incorrect-query-results branch June 9, 2020 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants