From: Cyrill Gorcunov via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: tml <tarantool-patches@dev.tarantool.org> Cc: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Subject: [Tarantool-patches] [PATCH v9 0/1] applier: filter incoming synchro packets via transaction initiator Date: Tue, 15 Jun 2021 16:56:29 +0300 [thread overview] Message-ID: <20210615135630.63465-1-gorcunov@gmail.com> (raw) Guys, here is a patch which implements the filtration we are interested in. I switched back to the former version with a few updates: - fixed comment in gh-5445-leader-inconsistency test as Serge pointed - added comments to the new patch pointing what's going on - we tried to rework the test with Serge but it didn't make thnigs much easier so I left the former approach - we use only memtx engine as Vlad asked Please give it a shot. issue https://github.com/tarantool/tarantool/issues/6035 branch gorcunov/gh-6035-applier-filter-9 Cyrill Gorcunov (1): applier: filter incoming synchro packets via transaction initiator src/box/applier.cc | 27 ++-- src/lib/raft/raft.h | 7 - .../gh-5445-leader-inconsistency.result | 15 ++ .../gh-5445-leader-inconsistency.test.lua | 5 + .../replication/gh-6035-applier-filter.result | 144 ++++++++++++++++++ .../gh-6035-applier-filter.test.lua | 68 +++++++++ test/replication/gh-6035-master.lua | 1 + test/replication/gh-6035-node.lua | 35 +++++ test/replication/gh-6035-replica1.lua | 1 + test/replication/gh-6035-replica2.lua | 1 + test/replication/suite.cfg | 3 + 11 files changed, 288 insertions(+), 19 deletions(-) create mode 100644 test/replication/gh-6035-applier-filter.result create mode 100644 test/replication/gh-6035-applier-filter.test.lua create mode 120000 test/replication/gh-6035-master.lua create mode 100644 test/replication/gh-6035-node.lua create mode 120000 test/replication/gh-6035-replica1.lua create mode 120000 test/replication/gh-6035-replica2.lua base-commit: 9fb95cfd78403b33cacbe765c35036a0532b2c02 -- 2.31.1
next reply other threads:[~2021-06-15 13:56 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-15 13:56 Cyrill Gorcunov via Tarantool-patches [this message] 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 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=20210615135630.63465-1-gorcunov@gmail.com \ --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