[Tarantool-patches] [RFC v5 0/5] limbo: implement packets filtering

Cyrill Gorcunov gorcunov at gmail.com
Thu Jul 15 00:23:23 MSK 2021


Guys, here is another rfc for incoming packets filtering.
I added locking for terms manipulations. The filter itself
yet implements only promote requests filtering but I'll extend
it later together with tests. For now it's early draft for
comments gathering.

branch gorcunov/gh-6036-rollback-confirm-notest

Cyrill Gorcunov (5):
  latch: add latch_is_locked helper
  say: introduce panic_on helper
  limbo: gather promote tracking into a separate structure
  limbo: order access to the promote terms
  limbo: filter incoming requests

 src/box/applier.cc   |  13 +++--
 src/box/box.cc       |   3 +-
 src/box/txn_limbo.c  |  88 ++++++++++++++++++++++++++-------
 src/box/txn_limbo.h  | 113 ++++++++++++++++++++++++++++++++++---------
 src/lib/core/latch.h |  11 +++++
 src/lib/core/say.h   |   1 +
 6 files changed, 185 insertions(+), 44 deletions(-)

-- 
2.31.1



More information about the Tarantool-patches mailing list