From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [94.100.177.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 625FF469710 for ; Mon, 25 May 2020 13:59:11 +0300 (MSK) From: Serge Petrenko Date: Mon, 25 May 2020 13:58:54 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v2 0/2] fix replication tx boundaries after local space rework List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: v.shpilevoy@tarantool.org, gorcunov@gmail.com, kostja.osipov@gmail.com Cc: tarantool-patches@dev.tarantool.org Changes in v2: - Pick a different approach for fixing is_commit flag delivery. Instead of making relay send txs in batches, simply reorder rows before writing them to WAL so that a tx always ends on a global row (if there is such a row at all). Serge Petrenko (2): wal: fix tx boundaries wal: reorder tx rows so that a tx ends on a global row src/box/wal.c | 49 ++++++- test/replication/gh-4928-tx-boundaries.result | 138 ++++++++++++++++++ .../gh-4928-tx-boundaries.test.lua | 61 ++++++++ test/replication/suite.cfg | 1 + 4 files changed, 243 insertions(+), 6 deletions(-) create mode 100644 test/replication/gh-4928-tx-boundaries.result create mode 100644 test/replication/gh-4928-tx-boundaries.test.lua -- 2.24.2 (Apple Git-127)