[Tarantool-patches] [PATCH v2 2/4] replication: check for rows to skip in applier correctly
Konstantin Osipov
kostja.osipov at gmail.com
Fri Feb 14 10:29:38 MSK 2020
* Konstantin Osipov <kostja.osipov at gmail.com> [20/02/14 10:19]:
> I think you should patch SUBSCRIBE iproto command, not the filter
> itself.
>
> Basically, if it's *re*configuraiton, not first replication
> configuration, SUBSCRIBE should set local VCLOCK component to
> infinity (check out variable local_vclock_at_subscribe, how it is
> assigned and how it used by the relay).
should be: check replica_vclock, how it's assigned and how it's
used by the relay.
What I mean is:
Set replica_vclock[self] = infinity before sending at resubscribe.
then you don't need any filters.
--
Konstantin Osipov, Moscow, Russia
https://scylladb.com
More information about the Tarantool-patches
mailing list