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

store: fix series stats race #6596

Merged
merged 1 commit into from
Aug 9, 2023
Merged

store: fix series stats race #6596

merged 1 commit into from
Aug 9, 2023

Conversation

GiedriusS
Copy link
Member

@GiedriusS GiedriusS commented Aug 9, 2023

The same aggregator is shared between queries which doesn't make sense
as each aggregator should only aggregate Select stats available to it.
Fixes a race and query metrics.

@GiedriusS GiedriusS marked this pull request as draft August 9, 2023 10:05
@pull-request-size pull-request-size bot added size/M and removed size/XS labels Aug 9, 2023
@GiedriusS GiedriusS marked this pull request as ready for review August 9, 2023 10:23
The same aggregator is shared between queries which doesn't make sense
as each aggregator should only aggregate Select stats available to it.
Fixes a race and query metrics.

Signed-off-by: Giedrius Statkevičius <[email protected]>
@GiedriusS GiedriusS merged commit 98abbf2 into main Aug 9, 2023
14 checks passed
@GiedriusS GiedriusS deleted the fix_race_sstats branch August 9, 2023 11:00
GiedriusS added a commit to vinted/thanos that referenced this pull request Aug 10, 2023
The same aggregator is shared between queries which doesn't make sense
as each aggregator should only aggregate Select stats available to it.
Fixes a race and query metrics.

Signed-off-by: Giedrius Statkevičius <[email protected]>
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.

4 participants