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

*: pull PR 7336 #109

Merged
merged 1 commit into from
Jun 3, 2024
Merged

*: pull PR 7336 #109

merged 1 commit into from
Jun 3, 2024

Conversation

GiedriusS
Copy link
Collaborator

Pull PR thanos-io#7336 into our fork.

We have seen deadlocks with endpoint discovery caused by the metric
collector hanging and not releasing the store labels lock. This causes
the endpoint update to hang, which also makes all endpoint readers hang on
acquiring a read lock for the resolved endpoints slice.

This commit makes sure the Collect method on the metrics collector has
a built in timeout to guard against cases where an upstream call never
reads from the collection channel.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
@GiedriusS GiedriusS merged commit 0cfdd6a into 0.34.0+vinted Jun 3, 2024
12 checks passed
@GiedriusS GiedriusS deleted the pull_pr_7336 branch June 3, 2024 09:08
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.

5 participants