Skip to content

Fixed ingester ReadOnly state related bugs #6208

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

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

alexqyle
Copy link
Contributor

What this PR does:

Fixed the following bugs related to ReadOnly state of ingester:

  • /ingester/all_user_stats endpoint cannot have web page rendered properly. LoadedBlocks field got wrong name in template.
  • Ingester with ReadOnly state is not considered as ready which would cause rolling update stuck if there is at least one ingester in ReadOnly state.

Which issue(s) this PR 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.

Thanks!

Copy link
Member

@friedrichg friedrichg left a comment

Choose a reason for hiding this comment

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

Very clean and with good tests.

@friedrichg friedrichg merged commit f74b4cd into cortexproject:master Sep 12, 2024
16 checks passed
@alexqyle alexqyle deleted the fix-ingester-readonly branch May 16, 2025 18:13
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.

3 participants