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 4E16D469719 for ; Fri, 14 Feb 2020 00:53:10 +0300 (MSK) From: sergepetrenko Date: Fri, 14 Feb 2020 00:52:56 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v2 0/4] replication: fix applying of rows originating from local instance List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alexander.turenko@tarantool.org, v.shpilevoy@tarantool.org, kostja.osipov@gmail.com Cc: tarantool-patches@dev.tarantool.org This patchset fixes problems with applying self-issued rows arriving via replication. https://github.com/tarantool/tarantool/issues/4739 https://github.com/tarantool/tarantool/tree/sp/gh-4739-vclock-assert Changes in v2: - review fixes as per review from Kostja Serge Petrenko (4): box: expose box_is_orphan method replication: check for rows to skip in applier correctly wal: wart when trying to write a record with a broken lsn replication: do not promote local_vclock_at_subscribe unnecessarily src/box/applier.cc | 17 +++++++++++++++-- src/box/box.cc | 14 +++++++++++++- src/box/box.h | 3 +++ src/box/relay.cc | 13 +++++++++++-- src/box/relay.h | 3 ++- src/box/replication.cc | 1 - src/box/wal.c | 15 ++++++++++++--- 7 files changed, 56 insertions(+), 10 deletions(-) -- 2.20.1 (Apple Git-117)