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 v16 0/3] qsync: implement packet filtering (part 1) Date: Wed, 15 Sep 2021 17:50:43 +0300 [thread overview] Message-ID: <20210915145046.133303-1-gorcunov@gmail.com> (raw) Packet filtering takes more and more time to implement and I send similar patches again multiple times. Still the complete split brain detection is not yet done, so I thought it might be worth to split the work into several series. This part addresses a race with terms manipulation and I think can be considered as its own. I would really appreciate comments here mostly due to function naming, comments and etc. My primary aim was to make sure that this series doesn't break anything existing but I think if we would have a test case for this ordering issue it would be brilliant, though I didn't come with some simple one here yet. branch gorcunov/gh-6036-rollback-confirm-16 issue https://github.com/tarantool/tarantool/issues/6036 previous series https://lists.tarantool.org/tarantool-patches/20210910152910.607398-1-gorcunov@gmail.com/ Cyrill Gorcunov (3): latch: add latch_is_locked helper qsync: order access to the limbo terms qsync: track confirmed_lsn upon CONFIRM packet src/box/applier.cc | 16 +++++++--- src/box/box.cc | 71 +++++++++++++++++++---------------------- src/box/memtx_engine.cc | 3 +- src/box/txn_limbo.c | 48 ++++++++++++++++++++++++++-- src/box/txn_limbo.h | 49 +++++++++++++++++++++++++--- src/lib/core/latch.h | 11 +++++++ 6 files changed, 146 insertions(+), 52 deletions(-) base-commit: 8461d67ee4deb5ceff5bc8076bc40883ad4e022b -- 2.31.1
next reply other threads:[~2021-09-15 14:50 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-15 14:50 Cyrill Gorcunov via Tarantool-patches [this message] 2021-09-15 14:50 ` [Tarantool-patches] [PATCH v16 1/3] latch: add latch_is_locked helper Cyrill Gorcunov via Tarantool-patches 2021-09-15 14:50 ` [Tarantool-patches] [PATCH v16 2/3] qsync: order access to the limbo terms Cyrill Gorcunov via Tarantool-patches 2021-09-15 14:50 ` [Tarantool-patches] [PATCH v16 3/3] qsync: track confirmed_lsn upon CONFIRM packet Cyrill Gorcunov via Tarantool-patches 2021-09-15 22:51 ` [Tarantool-patches] [PATCH v16 0/3] qsync: implement packet filtering (part 1) Vladislav Shpilevoy via Tarantool-patches 2021-09-16 10:50 ` Cyrill Gorcunov via Tarantool-patches 2021-09-20 15:22 ` [Tarantool-patches] [PATCH 4/3] test: add gh-6036-term-order test Cyrill Gorcunov via Tarantool-patches 2021-09-21 8:51 ` Cyrill Gorcunov via Tarantool-patches 2021-09-22 13:00 ` [Tarantool-patches] [PATCH v16 0/3] qsync: implement packet filtering (part 1) Cyrill Gorcunov 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=20210915145046.133303-1-gorcunov@gmail.com \ --to=tarantool-patches@dev.tarantool.org \ --cc=gorcunov@gmail.com \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v16 0/3] qsync: implement packet filtering (part 1)' \ /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