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

Cyrill Gorcunov gorcunov at gmail.com
Thu Feb 24 23:18:38 MSK 2022


Guys, take a look please, once time permit. Comments are welcome!

v29:
 - rework test into luaform
 - drop fine-grained locks idea since it requires too much code churn,
   instead lets fence out a big code parts

v30:
 - addess commenst (redundant code modifications due to more general
   locking scheme)
 - leave `latched` status for transactions which are started to
   process (ie entered limbo processing) but not yet complete due
   to WAL stalls, since I need to test exactly such state
 - extend the test

branch gorcunov/gh-6036-rollback-confirm-30
issue https://github.com/tarantool/tarantool/issues/6036
previous series https://lists.tarantool.org/tarantool-patches/20220131215554.1367429-1-gorcunov@gmail.com/

Cyrill Gorcunov (3):
  latch: add latch_is_locked helper
  qsync: order access to the limbo terms
  test: add gh-6036-qsync-order test

 src/box/applier.cc                            |   6 +-
 src/box/box.cc                                |   8 +-
 src/box/lua/info.c                            |   4 +-
 src/box/txn_limbo.c                           |  16 +-
 src/box/txn_limbo.h                           |  51 +++++-
 src/lib/core/latch.h                          |  11 ++
 .../gh_6036_qsync_order_test.lua              | 157 ++++++++++++++++++
 test/replication-luatest/suite.ini            |   1 +
 8 files changed, 245 insertions(+), 9 deletions(-)
 create mode 100644 test/replication-luatest/gh_6036_qsync_order_test.lua


base-commit: 3a98e0794e06bee9ecccbe2bc875e87f612d5560
-- 
2.35.1



More information about the Tarantool-patches mailing list