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

receive: change quorum calculation for RF=2 #7669

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

GiedriusS
Copy link
Member

As discussed during ThanosCon, I am updating the handling for RF=2 to require only one successful write because requiring all writes to succeed all the time doesn't make sense and causes lots of confusion to users. The only other alternative is to forbid RF=2 but I think we shouldn't do that because people would be forced to add extra resources when moving from a Sidecar based setup.

As discussed during ThanosCon, I am updating the handling for RF=2 to
require only one successful write because requiring all writes to
succeed all the time doesn't make sense and causes lots of confusion to
users. The only other alternative is to forbid RF=2 but I think we
shouldn't do that because people would be forced to add extra resources
when moving from a Sidecar based setup.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
Copy link
Contributor

@MichaHoffmann MichaHoffmann left a comment

Choose a reason for hiding this comment

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

Lgtm

@GiedriusS GiedriusS merged commit 8d3d34b into main Aug 28, 2024
22 checks passed
@GiedriusS GiedriusS deleted the add_quorum_2_handling branch August 28, 2024 09:13
jnyi pushed a commit to jnyi/thanos that referenced this pull request Oct 17, 2024
As discussed during ThanosCon, I am updating the handling for RF=2 to
require only one successful write because requiring all writes to
succeed all the time doesn't make sense and causes lots of confusion to
users. The only other alternative is to forbid RF=2 but I think we
shouldn't do that because people would be forced to add extra resources
when moving from a Sidecar based setup.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
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