From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 19 Jul 2018 10:11:51 +0300 From: Konstantin Osipov Subject: Re: [PATCH v3 05/11] gc: keep track of vclocks instead of signatures Message-ID: <20180719071151.GE11373@chai> References: <5ffe27c174c737fecfb4f2b42c2ab7b9332145a2.1531598427.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ffe27c174c737fecfb4f2b42c2ab7b9332145a2.1531598427.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [18/07/14 23:50]: > In order to check if a replica needs to be rebootstrapped, we need to > know the vclock of the oldest WAL stored on the master, but the garbage > collector works with signatures and hence can't report the vclock it was > last called for. Actually, all gc users have a vclock and can pass it > instead of signature so it's pretty easy to switch garbage collection > infrastructure to vclock. Pushed, with a small follow-up. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov