From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp39.i.mail.ru (smtp39.i.mail.ru [94.100.177.99]) (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 BB72F42F4AD for ; Thu, 2 Jul 2020 16:40:04 +0300 (MSK) From: Serge Petrenko Date: Thu, 2 Jul 2020 16:39:49 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v3 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: gorcunov@gmail.com, v.shpilevoy@tarantool.org 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-nop Changes in v3: - Instead of reordering rows in WAL, append a dummy NOP row to the tx end when needed. Serge Petrenko (2): wal: fix tx boundaries replication: append NOP as the last tx row src/box/txn.c | 23 ++- src/box/wal.c | 27 +++- test/replication/gh-4928-tx-boundaries.result | 138 ++++++++++++++++++ .../gh-4928-tx-boundaries.test.lua | 61 ++++++++ test/replication/suite.cfg | 1 + 5 files changed, 245 insertions(+), 5 deletions(-) create mode 100644 test/replication/gh-4928-tx-boundaries.result create mode 100644 test/replication/gh-4928-tx-boundaries.test.lua -- 2.24.3 (Apple Git-128)