[Tarantool-patches] [PATCH v15 00/11] journal redesign sync and async writes

Cyrill Gorcunov gorcunov at gmail.com
Fri Mar 20 11:19:45 MSK 2020


https://gitlab.com/tarantool/tarantool/pipelines/128055422
gorcunov/gh-4031-txn_write_to_wal-15

in v15:
 - dropped txn.h inclusion into wal and journal
 - use asserts in no-async-write journal stubs

Cyrill Gorcunov (11):
  box: recovery_journal_create -- set journal here
  box: recovery_journal -- declare it as static
  box/txn: move fiber_set_txn to header
  box/txn: rename txn_write to txn_commit_async
  box/txn: move setup of txn start to txn_prepare
  box/txn: add txn_commit_nop helper
  box/txn: rename txn_entry_complete_cb to txn_complete_async
  box/txn: unweave txn_commit from txn_commit_async
  box/txn: clear fiber storage right before journal write
  box/txn: move journal allocation into separate routine
  box/journal: redesign journal operations

 src/box/applier.cc |   2 +-
 src/box/box.cc     |  23 ++++---
 src/box/journal.c  |  33 +++++++---
 src/box/journal.h  |  86 +++++++++++++++++---------
 src/box/txn.c      | 146 +++++++++++++++++++++++++++++----------------
 src/box/txn.h      |  16 ++++-
 src/box/vy_log.c   |   5 +-
 src/box/wal.c      |  61 +++++++++++++++----
 src/box/wal.h      |   4 +-
 9 files changed, 258 insertions(+), 118 deletions(-)


base-commit: 1f7e7aa2bf47445dffc713df336288676b927445
-- 
2.20.1



More information about the Tarantool-patches mailing list