Skip to content

Conversation

wenxu1024
Copy link
Contributor

@wenxu1024 wenxu1024 commented Sep 30, 2023

…tore-gateway

What this PR does:

Store-gateway can get stuck in JOINING and waiting for ACTIVE forever, because we don't have timeout for the waitInstanceState call.

Similar to what compactor does it, https://github.com/cortexproject/cortex/blob/master/pkg/compactor/compactor.go#L551
We need to add context timeout for store-gateway and alertmanager

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

The change looks good to me. Let's update changelog to document the new flags and behavior changes.

Signed-off-by: Wen Xu <[email protected]>
@yeya24 yeya24 merged commit dc3807c into cortexproject:master Oct 1, 2023
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