Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mbarbon
Copy link
Contributor

@mbarbon mbarbon commented Apr 30, 2025

[Note that this MR contains a large amount of changes to vendor/ as it depends on this dskit PR]

Using a lower read consistency level allows trading lower consistency for higher availability.

Checklist

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

mbarbon added 2 commits April 30, 2025 12:28
This can be set globally and overridden per tenant, and allows trading
availability for consistency.
@CLAassistant
Copy link

CLAassistant commented Apr 30, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

A quick comment about the correctness (I left the rest of the team comment whether it's something desired for Mimir or not). If we want to allow partial query results, then it's not just about how we build the replication set but also we have to change the quorum logic, implemented in ring.DoBatchWithOptions() (quorum is implemented here).

@mbarbon
Copy link
Contributor Author

mbarbon commented May 1, 2025

A quick comment about the correctness (I left the rest of the team comment whether it's something desired for Mimir or not). If we want to allow partial query results, then it's not just about how we build the replication set but also we have to change the quorum logic, implemented in ring.DoBatchWithOptions() (quorum is implemented here).

@pracucci could you point out the logic that needs to be updated? I'm asking because I already looked at that code and I thought it did not need to be changed...

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