From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (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 589AD469710 for ; Mon, 18 May 2020 15:24:19 +0300 (MSK) From: Serge Petrenko Date: Mon, 18 May 2020 15:24:03 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 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 Cc: tarantool-patches@dev.tarantool.org https://github.com/tarantool/tarantool/issues/4928 https://github.com/tarantool/tarantool/tree/sp/gh-4928-tx-boundary-fix The patchset fixes 2 errors in replication resulting from trying to replicate transactions mixing local and global space requests. The first patch fixes an error when a local row is the first in tx and the second patch fixes an error when a local row is the last one in tx. Serge Petrenko (2): wal: fix tx boundaries replication: make relay send txs in batches src/box/relay.cc | 98 ++++++++++--- src/box/wal.c | 26 +++- test/replication/gh-4928-tx-boundaries.result | 132 ++++++++++++++++++ .../gh-4928-tx-boundaries.test.lua | 61 ++++++++ test/replication/suite.cfg | 1 + 5 files changed, 297 insertions(+), 21 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)