[Tarantool-patches] [PATCH v8 0/6] limbo: implement packets filtering

Cyrill Gorcunov gorcunov at gmail.com
Mon Jul 26 18:34:46 MSK 2021


Guys, take a look please once time permit. Comments are highly
appreciated. 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. Still I think
the series is in good shape for review.

branch gorcunov/gh-6036-rollback-confirm-08
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

Cyrill Gorcunov (6):
  latch: add latch_is_locked helper
  say: introduce panic_on helper
  limbo: gather promote tracking into a separate structure
  limbo: order access to the limbo terms terms
  limbo: filter incoming synchro requests
  test: replication -- add 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                           | 336 ++++++++++++++++--
 src/box/txn_limbo.h                           | 150 ++++++--
 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         |  88 +++++
 12 files changed, 797 insertions(+), 61 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: 228a83447fbe1ca2b9358a6a98d70ecc602d4c35
-- 
2.31.1



More information about the Tarantool-patches mailing list