[Tarantool-patches] [PATCH 0/5] qsync: write confirm/rollback without txn engine

Cyrill Gorcunov gorcunov at gmail.com
Wed Jul 22 18:33:54 MSK 2020


Vlad, take a look please once time permit. Note the series is on top
of your series "[PATCH 0/2] Make txn_commit() simpler"

I think in our wal engine we should go further and eliminate completion
calls for synchronous writes completely (internally WAL could setup
completion to fiber_wakeup and reuse async engine) but from API it would
not call completion associated with transactions ever. But such redesign
is defenitely for other series.

Anyway in this series we make a first approach to not use txn engine when
we have to simply write confirm/rollback record into a journal.

issue https://github.com/tarantool/tarantool/issues/5129
branch gorcunov/gh-5129-journal

Cyrill Gorcunov (5):
  journal: drop redundant declaration
  wal: bind asynchronous write completion to an entry
  journal: add journal_entry_create helper
  qsync: implement direct write of confirm/rollback into a journal
  qsync: fix release build

 src/box/box.cc             |  14 ++---
 src/box/iproto_constants.h |  24 +++++++++
 src/box/journal.c          |   8 ++-
 src/box/journal.h          |  39 ++++++++++----
 src/box/txn.c              |   2 +-
 src/box/txn_limbo.c        | 101 ++++++++++++++++++++-----------------
 src/box/vy_log.c           |   2 +-
 src/box/wal.c              |  20 ++++----
 src/box/wal.h              |   4 +-
 src/box/xrow.c             |  46 ++++-------------
 src/box/xrow.h             |  31 ++++--------
 11 files changed, 151 insertions(+), 140 deletions(-)

-- 
2.26.2



More information about the Tarantool-patches mailing list