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
Let user specify some replicas as voters and some as non-voters #3891
Comments
What's an example use case of this? |
Suppose the user has three replicas in a datacenter in Boston and one replica in each of three "satellite" datacenters in San Francisco, Hong Kong, and Paris. The primaries are all in the Boston datacenter, and the user wants writes to be acknowledged without doing a complete network round-trip to one of the remote datacenters. So they set the satellite replicas as non-voting. |
Got it, thanks |
Moving to the |
I think it's actually not critical that we support this for #3894 . Just We might get this as a side effect of implementing hard override, but in itself I think it's not release critical. |
👍 |
This is just a reminder to do the webui portion whenever this is completed |
In CR 2925. |
@timmaxw so do we need new webui functionality for this in your opinion? |
The web UI should visually indicate which replicas are nonvoting, but other than that I don't think we need anything. |
👍 |
Fixed in f706b90. |
In
raft
right now, consensus is defined as a majority of all replicas. We should let the user specify replicas that aren't used for consensus. This could take the form of another field intable_config
callednon_voting_replicas
, or something.The text was updated successfully, but these errors were encountered: