-
Notifications
You must be signed in to change notification settings - Fork 43
Support dynamic evaluation of synchronous replication quorum #1730
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
Comments
The division gives an integral result? The rounding is to a lower integral number / to zero / to a nearest integral value? Or, if the division is floating point / exact decimal, whether the result of expression is rounded? If so, how exactly? |
It simply returns the formula evaluated, we don't even care much what exactly a user has passed. The result is treated as an integer number. |
If result is out of range the error is returned
|
Resolves #1730 * Add info about dynamic evaluation * Update translation
Uh oh!
There was an error while loading. Please reload this page.
Support dynamic evaluation of synchronous replication quorum
Product: Tarantool
Since: 2.5.3, 2.6.2, 2.7.1
Audience/target:
Root document:
SME: @ cyrillos
Peer reviewer: @
Details
Setting
replication_synchro_quorum
option to an explicit integervalue was introduced rather for simplicity sake mostly. For example
if the cluster's size is not a constant value and new replicas are
connected in dynamically then an administrator might need to increase
the option by hands or by some other external tool.
Instead one can use a dynamic evaluation of a quorum value via formal
representation using symbol
N
as a current number of registered replicasin a cluster.
For example, the canonical definition for a quorum (that is, majority
of members in a set) of
N
replicas isN/2+1
. For such configurationdefine
The formal statement allows to provide a flexible configuration but keep
in mind that only canonical quorum (and bigger values, say
N
for allreplicas) guarantees data reliability and various weird forms such as
N/3+1
while allowed may lead to unexpected results.Requested by @cyrillos in tarantool/tarantool@14fa5fd.
See other details in the issue comments below.
The text was updated successfully, but these errors were encountered: