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 EABA324F78 for ; Sat, 5 Jan 2019 16:24:36 -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 ebfscyro91LL for ; Sat, 5 Jan 2019 16:24:36 -0500 (EST) Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (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 361A924C08 for ; Sat, 5 Jan 2019 16:24:36 -0500 (EST) From: Georgy Kirichenko Subject: [tarantool-patches] [PATCH 0/2] Transaction boundaries in replication protocol Date: Sun, 6 Jan 2019 00:26:04 +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. 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 | 33 +++++- 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, 260 insertions(+), 94 deletions(-) -- 2.20.1