[Tarantool-patches] [PATCH 00/10] box/journal: redesign sync and async writes

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 5 15:29:33 MSK 2020


Kostya, take a look please, once time permit. I think tearing through
the patches won't be easy since changes are too intrusive so maybe
an easier way to look into the final result by applying the series.

https://github.com/tarantool/tarantool/blob/gorcunov/gh-4031-txn_write_to_wal-10/src/box/txn.c#L590
https://github.com/tarantool/tarantool/blob/gorcunov/gh-4031-txn_write_to_wal-10/src/box/journal.c
https://github.com/tarantool/tarantool/blob/gorcunov/gh-4031-txn_write_to_wal-10/src/box/wal.c#L1186
https://gitlab.com/tarantool/tarantool/pipelines/123555588

branch gorcunov/gh-4031-txn_write_to_wal-10

Cyrill Gorcunov (10):
  box: recovery_journal_create -- set journal here
  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: 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: journal_entry_new -- drop setting up callbacks
  box/journal: redesign sync and async writes

 src/box/applier.cc |   2 +-
 src/box/box.cc     |   7 +-
 src/box/journal.c  |  31 ++++++---
 src/box/journal.h  |  52 +++++++++++---
 src/box/txn.c      | 164 ++++++++++++++++++++++++++++++---------------
 src/box/txn.h      |   9 ++-
 src/box/vy_log.c   |   3 +-
 src/box/wal.c      | 106 ++++++++++++++++++++++++++---
 8 files changed, 287 insertions(+), 87 deletions(-)


base-commit: ed2e14305b28f35c33d947aadcc62ddbe8c863e6
-- 
2.20.1



More information about the Tarantool-patches mailing list