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

DoUntilQuorum: add the ability to prioritise zones when request minimisation is enabled #440

Merged
merged 5 commits into from
Nov 26, 2023

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Nov 24, 2023

What this PR does:

This PR adds support for prioritising zones when using DoUntilQuorum with request minimisation and zone awareness.

This is useful when the caller has additional knowledge about the zones and wants to prioritise using some over others. For example, the caller might have observed that some zones are faster or under less load and want to preference these over other, slower or more heavily loaded zones.

Which issue(s) this PR fixes:

Related: grafana/mimir#6726

Checklist

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

Copy link
Member

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

Looks reasonable.

@charleskorn charleskorn merged commit 4cfd2dc into main Nov 26, 2023
3 checks passed
@charleskorn charleskorn deleted the charleskorn/prioritise-zones branch November 26, 2023 21:50
charleskorn added a commit to grafana/mimir that referenced this pull request Nov 26, 2023
charleskorn added a commit to grafana/mimir that referenced this pull request Nov 26, 2023
…gesters (#6727)

* Upgrade to dskit commit that includes grafana/dskit#440

* Prefer querying ingester zones with the least number of non-ACTIVE ingesters.

* Update changelog entry.
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.

None yet

2 participants