[Tarantool-patches] [RFC 4/4] qsync: allow to specify replication_synchro_quorum as a formula
gorcunov at gmail.com
Fri Nov 20 18:00:19 MSK 2020
On Fri, Nov 20, 2020 at 03:41:12PM +0300, Serge Petrenko wrote:
> > > > Pass replicaset.registered_count instead of replication_synchro_quorum here.
> > Wait, this is bootstrap, replicaset.registered_count is 0 at this moment, no?
> Hm, I didn't think of this.
> Yes, this is either bootstrap or reconfiguration.
> Well, if we have a max(1, value) guard nothing bad should happen even if we
> pass 0 on bootstrap. The formula will be reevaluated each time
> a replica is registered anyway. Even when the node registers itself.
> Anyway, passing replication_synchro_quorum as parameter to evaluate quorum
> is even more random.
More information about the Tarantool-patches