From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 149A3469719 for ; Fri, 20 Mar 2020 11:19:59 +0300 (MSK) Received: by mail-lf1-f53.google.com with SMTP id j11so3794629lfg.4 for ; Fri, 20 Mar 2020 01:19:59 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 20 Mar 2020 11:19:45 +0300 Message-Id: <20200320081956.30650-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v15 00/11] journal redesign sync and async writes List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml 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