[Tarantool-patches] [PATCH v5 2/4] replication: hide 0-th vclock components in replication responses

Konstantin Osipov kostja.osipov at gmail.com
Mon Mar 30 15:56:42 MSK 2020


* Serge Petrenko <sergepetrenko at tarantool.org> [20/03/30 14:08]:
> If an anonymous replica is promoted to a normal one and becomes
> replication master later, its vclock contains a non-empty zero
> component, tracking local changes on this replica from the time when it
> had been anonymous. No need to pollute joining instance's vclock with
> our non-empty 0 component.
> When an anonymous replica reports its status to a remote instance it
> should also hide its 0-th vclock component.
> 
> This is needed for backward compatibility with old instances, which
> don't ignore 0th vclock component coming from a remote instance by
> default.
> Also make sure that new instances ignore 0th vclock component.

lgtm

-- 
Konstantin Osipov, Moscow, Russia
https://scylladb.com


More information about the Tarantool-patches mailing list