From: Konstantin Osipov <kostja.osipov@gmail.com>
To: sergepetrenko <sergepetrenko@tarantool.org>,
alexander.turenko@tarantool.org, v.shpilevoy@tarantool.org,
tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v2 2/4] replication: check for rows to skip in applier correctly
Date: Fri, 14 Feb 2020 10:29:38 +0300 [thread overview]
Message-ID: <20200214072938.GE15237@atlas> (raw)
In-Reply-To: <20200214071952.GA15237@atlas>
* Konstantin Osipov <kostja.osipov@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
next prev parent reply other threads:[~2020-02-14 7:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-13 21:52 [Tarantool-patches] [PATCH v2 0/4] replication: fix applying of rows originating from local instance sergepetrenko
2020-02-13 21:52 ` [Tarantool-patches] [PATCH v2 1/4] box: expose box_is_orphan method sergepetrenko
2020-02-13 21:52 ` [Tarantool-patches] [PATCH v2 2/4] replication: check for rows to skip in applier correctly sergepetrenko
2020-02-14 7:19 ` Konstantin Osipov
2020-02-14 7:29 ` Konstantin Osipov [this message]
2020-02-13 21:52 ` [Tarantool-patches] [PATCH v2 3/4] wal: wart when trying to write a record with a broken lsn sergepetrenko
2020-02-14 7:20 ` Konstantin Osipov
2020-02-14 10:46 ` Serge Petrenko
2020-02-16 16:15 ` Vladislav Shpilevoy
2020-02-18 17:28 ` Serge Petrenko
2020-02-18 21:15 ` Vladislav Shpilevoy
2020-02-19 8:46 ` Serge Petrenko
2020-02-13 21:53 ` [Tarantool-patches] [PATCH v2 4/4] replication: do not promote local_vclock_at_subscribe unnecessarily sergepetrenko
2020-02-14 7:25 ` Konstantin Osipov
2020-02-14 10:46 ` Serge Petrenko
2020-02-14 10:52 ` Konstantin Osipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200214072938.GE15237@atlas \
--to=kostja.osipov@gmail.com \
--cc=alexander.turenko@tarantool.org \
--cc=sergepetrenko@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v2 2/4] replication: check for rows to skip in applier correctly' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox