From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (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 C111846970E for ; Tue, 31 Dec 2019 12:11:54 +0300 (MSK) Date: Tue, 31 Dec 2019 12:11:53 +0300 From: Kirill Yukhin Message-ID: <20191231091153.2rn6dmqbnvbfgd5o@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 1/2] relay: fix vclock obtainment on join List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ilya Kosarev Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org Hello, On 30 дек 20:47, Ilya Kosarev wrote: > In case of high load vclock used to join replica could be in advance > comparing to an actual WAL. Therefore replica could have missed some > tuples from master. In order to fix this wal_sync is updated so that > now we can obtain up to date vclock on the flushed state using it. > > Prerequisites #4160 > --- > src/box/relay.cc | 7 +++---- > src/box/vinyl.c | 4 ++-- > src/box/wal.c | 23 +++++++++++++++++------ > src/box/wal.h | 4 +++- > 4 files changed, 25 insertions(+), 13 deletions(-) I've checked your patch into master. -- Regards, Kirill Yukhin