[Tarantool-patches] [PATCH v19 0/3] qsync: implement packet filtering (part 1)
Cyrill Gorcunov
gorcunov at gmail.com
Thu Sep 30 12:44:42 MSK 2021
Please take a look once time permit.
v19 (by Vlad):
- do not modify box_issue_promote and demote (while they are
still simply utter code duplication but whatever)
- make txn_limbo_process being void
- make txn_limbo_process_begin/commit/rollback being void
- the real processing of request under the lock named as
txn_limbo_process_core
- testcase completely reworked (kudos to SergeP)
- note that if we import test to the master branch without
ordering pass it will fire assertion
- dropped off debug info from box.info interface
Guys, also I noted that the test while being passed pretty fine locally
sometimes doesn't pass on CI due to timeout in waiting record {2} propagation,
so any advices on the test is quite welcome!
branch gorcunov/gh-6036-rollback-confirm-19
issue https://github.com/tarantool/tarantool/issues/6036
previous series https://lists.tarantool.org/tarantool-patches/20210922130535.79479-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 | 12 +-
src/box/box.cc | 15 +-
src/box/txn_limbo.c | 17 +-
src/box/txn_limbo.h | 53 ++++-
src/lib/core/latch.h | 11 +
test/replication/gh-6036-qsync-master.lua | 1 +
test/replication/gh-6036-qsync-node.lua | 35 +++
test/replication/gh-6036-qsync-order.result | 207 ++++++++++++++++++
test/replication/gh-6036-qsync-order.test.lua | 95 ++++++++
test/replication/gh-6036-qsync-replica1.lua | 1 +
test/replication/gh-6036-qsync-replica2.lua | 1 +
test/replication/suite.cfg | 1 +
test/replication/suite.ini | 2 +-
13 files changed, 433 insertions(+), 18 deletions(-)
create mode 120000 test/replication/gh-6036-qsync-master.lua
create mode 100644 test/replication/gh-6036-qsync-node.lua
create mode 100644 test/replication/gh-6036-qsync-order.result
create mode 100644 test/replication/gh-6036-qsync-order.test.lua
create mode 120000 test/replication/gh-6036-qsync-replica1.lua
create mode 120000 test/replication/gh-6036-qsync-replica2.lua
base-commit: 33830978870bbe8cdc3c23fa06ba0f141a960124
--
2.31.1
More information about the Tarantool-patches
mailing list