From: Cyrill Gorcunov via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Cc: tml <tarantool-patches@dev.tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH v9 0/1] applier: filter incoming synchro packets via transaction initiator
Date: Sat, 19 Jun 2021 01:16:49 +0300 [thread overview]
Message-ID: <YM0bUaO3pMSLVDdp@grain> (raw)
In-Reply-To: <3a60e5a6-ef92-2e30-c5e8-7e0db70728ea@tarantool.org>
On Fri, Jun 18, 2021 at 11:49:39PM +0200, Vladislav Shpilevoy wrote:
> Hi! Thanks for the patch!
>
> See 4 comments below.
>
> > diff --git a/test/replication/gh-6035-applier-filter.result b/test/replication/gh-6035-applier-filter.result
> > new file mode 100644
> > index 000000000..7345a19f7
> > --- /dev/null
> > +++ b/test/replication/gh-6035-applier-filter.result
>
> 1. Maybe better rename it to gh-6035-election-filter. Because otherwise
> this test is not included when I run `python test-run.py election`. And I
> do that quite often when make a patch which affects election only.
Sure, I don't mind.
> > +box.cfg{replication = {require('fio').cwd() .. "/replica1.sock"}}
>
> 2. You don't need require('fio').cwd(). "unix/:./replica1.sock" works
> just fine. The same for the other socket paths.
Actually I too this from other examples since I suspect the use of
absolute path might be critical for test run engine. It is not a problem
to rename but other our tests do use this trick so meaybe we should stick
with same approach? Again, I don't mind to use relative path if this
won't cause problems in future.
> > +-- Make the master to be RAFT leader, this drops connection
> > +-- to the replica2.
>
> 3. There was no connection to replica2 from master.
>
I'll update the comment, thanks! (actually replica2
connected to the master initialy and this is full
duplex connection which we close on reconfig, that's
what I meant saying "dropping" connection, but this
seems to be confusing).
> > + "gh-6035-applier-filter.test.lua": {
> > + "memtx": {"engine": "memtx"}
> > + },
>
> 4. You don't need to specify the engine. You don't use the
> engine variable in the test. Just leave it empty {}.
OK
next prev parent reply other threads:[~2021-06-18 22:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 13:56 Cyrill Gorcunov via Tarantool-patches
2021-06-15 13:56 ` [Tarantool-patches] [PATCH v9 1/1] " Cyrill Gorcunov via Tarantool-patches
2021-06-15 14:26 ` Serge Petrenko via Tarantool-patches
2021-06-15 17:02 ` Cyrill Gorcunov via Tarantool-patches
2021-06-15 18:08 ` Cyrill Gorcunov via Tarantool-patches
2021-06-16 8:31 ` Serge Petrenko via Tarantool-patches
2021-06-16 8:43 ` Cyrill Gorcunov via Tarantool-patches
2021-06-16 8:16 ` Serge Petrenko via Tarantool-patches
2021-06-18 21:49 ` [Tarantool-patches] [PATCH v9 0/1] " Vladislav Shpilevoy via Tarantool-patches
2021-06-18 22:16 ` Cyrill Gorcunov via Tarantool-patches [this message]
2021-06-18 22:58 ` Vladislav Shpilevoy via Tarantool-patches
2021-06-19 11:01 ` Cyrill Gorcunov via Tarantool-patches
2021-06-20 14:50 ` Vladislav Shpilevoy via Tarantool-patches
2021-06-20 17:17 ` Cyrill Gorcunov via Tarantool-patches
2021-06-21 21:06 ` Vladislav Shpilevoy via Tarantool-patches
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=YM0bUaO3pMSLVDdp@grain \
--to=tarantool-patches@dev.tarantool.org \
--cc=gorcunov@gmail.com \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v9 0/1] applier: filter incoming synchro packets via transaction initiator' \
/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