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

discovery: preserve results from other resolve calls #121

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

GiedriusS
Copy link

Properly preserve results from other resolve calls. There is an assumption that resolve() is always called with the same addresses but that is not true with gRPC and --endpoint-group. Without this fix, multiple resolves could happen at the same time but some of the callers will not be able to retrieve the results leading to random errors.

@GiedriusS GiedriusS force-pushed the thanos_query_map_fix branch 2 times, most recently from fa147d2 to e14c47c Compare November 5, 2024 12:11
Properly preserve results from other resolve calls. There is an
assumption that resolve() is always called with the same addresses but
that is not true with gRPC and `--endpoint-group`. Without this fix,
multiple resolves could happen at the same time but some of the callers
will not be able to retrieve the results leading to random errors.

Signed-off-by: Giedrius Statkevičius <[email protected]>
@GiedriusS GiedriusS force-pushed the thanos_query_map_fix branch from e14c47c to 4ed126f Compare November 5, 2024 13:16
@GiedriusS GiedriusS merged commit 6e5ce60 into v0.37.0+vinted Nov 5, 2024
13 of 14 checks passed
@GiedriusS GiedriusS deleted the thanos_query_map_fix branch November 5, 2024 13:28
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