From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B305C30333 for ; Thu, 29 Nov 2018 11:37:17 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0WwmblR9b5iH for ; Thu, 29 Nov 2018 11:37:17 -0500 (EST) Received: from smtp41.i.mail.ru (smtp41.i.mail.ru [94.100.177.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 215A1302A6 for ; Thu, 29 Nov 2018 11:37:17 -0500 (EST) Received: by smtp41.i.mail.ru with esmtpa (envelope-from ) id 1gSPJT-0006Dw-A4 for tarantool-patches@freelists.org; Thu, 29 Nov 2018 19:37:15 +0300 Date: Thu, 29 Nov 2018 19:37:15 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 3/9] recovery: restore garbage collector vclock after restart Message-ID: <20181129163715.GC5760@chai> References: <67678dc51f6a47c48dfb2d2a52a2b059514bd767.1543419109.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67678dc51f6a47c48dfb2d2a52a2b059514bd767.1543419109.git.vdavydov.dev@gmail.com> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org * Vladimir Davydov [18/11/28 19:16]: > After restart the garbage collector vclock is reset to the vclock of the > oldest preserved checkpoint, which is incorrect - it may be less in case > there is a replica that lagged behind, and it may be greater as well in > case the WAL thread hit ENOSPC and had to remove some WAL files to > continue. Fix it. OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov