From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C7D822481F for ; Sun, 6 Jan 2019 08:04:21 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cWkeSttDeZW7 for ; Sun, 6 Jan 2019 08:04:21 -0500 (EST) Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 1FA2D23C64 for ; Sun, 6 Jan 2019 08:04:20 -0500 (EST) From: Georgy Kirichenko Subject: [tarantool-patches] [PATCH v2 0/2] Transaction boundaries in replication protocol Date: Sun, 6 Jan 2019 16:05:51 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Georgy Kirichenko This patchset introduces transactional replication and consist of two commits: * the first one forms transaction boundaries in a xstream * the second one forms transactions in applier buffers and then applies them with correct begin/commit boundaries. Note: distributed transaction are not supported so journal forms a separate transaction for all local triggers effects. Changes in v2: - Fixed local transaction extraction Georgy Kirichenko (2): Journal transaction boundaries Transaction support for applier src/box/applier.cc | 202 ++++++++++++++++++++++++++----------- src/box/iproto_constants.h | 3 + src/box/wal.c | 36 ++++++- src/box/xrow.c | 38 +++++++ src/box/xrow.h | 5 +- test/unit/xrow.cc | 3 + test/vinyl/errinj.result | 8 +- test/vinyl/info.result | 38 +++---- test/vinyl/layout.result | 24 ++--- 9 files changed, 263 insertions(+), 94 deletions(-) -- 2.20.1