From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp36.i.mail.ru (smtp36.i.mail.ru [94.100.177.96]) (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 4FA9941C5DB for ; Mon, 29 Jun 2020 18:32:48 +0300 (MSK) From: Serge Petrenko Date: Mon, 29 Jun 2020 18:32:24 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/4] make master send only confirmed data during join List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: v.shpilevoy@tarantool.org, gorcunov@tarantool.org, sergos@tarantool.org, lvasiliev@tarantool.org Cc: tarantool-patches@dev.tarantool.org https://github.com/tarantool/tarantool/issues/5097 Branch: gh-4842-sync-replication The first patch is placed after "replication: add support of qsync to the snapshot machinery". It renames gc_wait_confirm() to txn_limbo_wait_confirm() and moves the machinery to txn_limbo.c from gc.c Three other patches are on top of the branch and are pretty self-explanatory. Serge Petrenko (4): [tosquash] move wait_confirm from gc.c to txn_limbo.c txn_limbo: add diag_set in txn_limbo_wait_confirm replication: delay initial join until confirmation replication: only send confirmed data during final join src/box/applier.cc | 9 +++++ src/box/box.cc | 33 ++++++++++++++++++ src/box/gc.c | 83 ++------------------------------------------- src/box/relay.cc | 7 ++++ src/box/txn_limbo.c | 81 +++++++++++++++++++++++++++++++++++++++++++ src/box/txn_limbo.h | 42 +++++++++++++++++++++++ 6 files changed, 175 insertions(+), 80 deletions(-) -- 2.24.3 (Apple Git-128)