[Tarantool-patches] [PATCH v16 0/3] qsync: implement packet filtering (part 1)

Cyrill Gorcunov gorcunov at gmail.com
Wed Sep 15 17:50:43 MSK 2021


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



More information about the Tarantool-patches mailing list