Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v31 0/3] qsync: implement packet filtering (part 1)
@ 2022-03-02 20:27 Cyrill Gorcunov via Tarantool-patches
  2022-03-02 20:27 ` [Tarantool-patches] [PATCH v31 1/3] latch: add latch_is_locked helper Cyrill Gorcunov via Tarantool-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Cyrill Gorcunov via Tarantool-patches @ 2022-03-02 20:27 UTC (permalink / raw)
  To: tml; +Cc: Vladislav Shpilevoy

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

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

v31 (by SergeP):
 - drop latch_is_locked member
 - use `busy` flag in info output
 - update test case (kudos to SergeP for help)

branch gorcunov/gh-6036-rollback-confirm-31
issue https://github.com/tarantool/tarantool/issues/6036
previous series https://lists.tarantool.org/tarantool-patches/20220224201841.412565-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                           |  13 +-
 src/box/txn_limbo.h                           |  44 +++-
 src/lib/core/latch.h                          |  11 +
 .../gh_6036_qsync_order_test.lua              | 198 ++++++++++++++++++
 test/replication-luatest/suite.ini            |   1 +
 8 files changed, 275 insertions(+), 10 deletions(-)
 create mode 100644 test/replication-luatest/gh_6036_qsync_order_test.lua


base-commit: 884b3ff3ffa5f6a9d4c3982611da83dc935d0b17
-- 
2.35.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-03 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 20:27 [Tarantool-patches] [PATCH v31 0/3] qsync: implement packet filtering (part 1) Cyrill Gorcunov via Tarantool-patches
2022-03-02 20:27 ` [Tarantool-patches] [PATCH v31 1/3] latch: add latch_is_locked helper Cyrill Gorcunov via Tarantool-patches
2022-03-02 20:27 ` [Tarantool-patches] [PATCH v31 2/3] qsync: order access to the limbo terms Cyrill Gorcunov via Tarantool-patches
2022-03-02 20:27 ` [Tarantool-patches] [PATCH v31 3/3] test: add gh-6036-qsync-order test Cyrill Gorcunov via Tarantool-patches
2022-03-03 10:08   ` Serge Petrenko via Tarantool-patches
2022-03-03 11:02     ` Cyrill Gorcunov via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox