[Tarantool-patches] [PATCH v9 0/5] limbo: implement packets filtering
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jul 30 14:35:34 MSK 2021
Replication tests are passing but gihutb tests are not: the series
is on top of Serge's branch `sp/gh-6034-empty-limbo-transition` which
is failing yet.
Vlad, I removed txn_limb_terms structure which made me to rework
the series, please take a look if you have some other comments
to address.
branch gorcunov/gh-6036-rollback-confirm-09-notest
issue https://github.com/tarantool/tarantool/issues/6036
v6:
- use txn_limbo_terms name for structure
- rebase on fresh sp/gh-6034-empty-limbo-transition branch
- rework filtering chains
v8:
- add ability to disable filtering for local recovery
and join stages
- update tests
v9:
- opencode terms tracking
- fix tests to use wait function since log output might
be deferred by OS
Cyrill Gorcunov (5):
latch: add latch_is_locked helper
say: introduce panic_on helper
limbo: order access to the limbo terms
limbo: filter incoming synchro requests
test: add replication/gh-6036-rollback-confirm
src/box/applier.cc | 31 +-
src/box/box.cc | 23 +-
src/box/memtx_engine.c | 3 +-
src/box/txn_limbo.c | 323 ++++++++++++++++--
src/box/txn_limbo.h | 103 +++++-
src/lib/core/latch.h | 11 +
src/lib/core/say.h | 1 +
test/replication/gh-6036-master.lua | 1 +
test/replication/gh-6036-node.lua | 33 ++
test/replication/gh-6036-replica.lua | 1 +
.../gh-6036-rollback-confirm.result | 180 ++++++++++
.../gh-6036-rollback-confirm.test.lua | 92 +++++
12 files changed, 759 insertions(+), 43 deletions(-)
create mode 120000 test/replication/gh-6036-master.lua
create mode 100644 test/replication/gh-6036-node.lua
create mode 120000 test/replication/gh-6036-replica.lua
create mode 100644 test/replication/gh-6036-rollback-confirm.result
create mode 100644 test/replication/gh-6036-rollback-confirm.test.lua
base-commit: 354a4897eb8e5a60a4d6673e17b00a2e597b719e
--
2.31.1
More information about the Tarantool-patches
mailing list