From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 13 Jun 2018 23:51:39 +0300 From: Konstantin Osipov Subject: Re: [PATCH v2 07/11] applier: inquire oldest vclock on connect Message-ID: <20180613205139.GD10632@chai> References: <6bd30ab7e6ab61823bcb39e0c6cb34f12144bbe1.1528478913.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6bd30ab7e6ab61823bcb39e0c6cb34f12144bbe1.1528478913.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [18/06/08 20:38]: > Introduce a new iproto command IPROTO_GET_GC_VCLOCK that returns the > vclock of the oldest checkpoint available at the master. Use this > command when applier is connected to set applier->gc_vclock. We will > need it to check whether a replica fell too much behind its peers in > the cluster and so needs to be rebootstrapped. Why do you think it's better to have a separate command rather than folding it into iproto_request_vote? -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov