Folks,

The doc states that the formula to get the write and read quorum is:
The default required size of a quorum is equal to r=w=((n+1)/2)
https://docs.couchdb.org/en/stable/cluster/sharding.html#quorum

However, the code suggests otherwise:
WR = N div 2 + 1,
https://github.com/apache/couchdb/blob/604526
f5f93df28138a165a666e39ff37f3fdc06/src/fabric/src/fabric_db_info.erl#L159

Am I missing something?

Cheers,

Luca Morandini

Reply via email to