From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 245696EC56; Thu, 18 Mar 2021 10:56:34 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 245696EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616054194; bh=OC7dolXsm2TIc6M/U7+Ch/coSoqIxahEmxYb3c8dgfE=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=aoV3/+HUUjkMy+PF9cZF3JdqWrRihslNbPW/1GWdFI1hyiUqmCb4lVReFwMqIPxIa yxz3tANIXYQdpSQoYTFOcQJWV/EXKvsyksKR5oeDQ5OrDp4sJe+nsvYPwR6qh3JsLc +ToRvnzM8zNnuxcHmReRmdE5XNIjs1Ip/Mvikm5s= Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 72F1E6EC56 for ; Thu, 18 Mar 2021 10:56:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 72F1E6EC56 Received: by mail-lf1-f41.google.com with SMTP id j11so3070951lfg.12 for ; Thu, 18 Mar 2021 00:56:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bYpNc9Dz1BDG/aTww0Z1SUax0zfIMcqVgD5jBD7fw3c=; b=lDwnmdKJDHR/N7PihTvAgHENoScMSq1z6FFoegX9xVT9nL3IKnwd0tFjI617N4mSC1 gbfrELcEtCwhazFBhZ83Wh9RW1M7IkXx0mYi/8j7rv8ebcaJRzOKAr3Fdy8zqV489cGU FUoYL5R0tuUWuJffLdvZ0Dt7e0yZbP4rWkpSCOlgoIrH3+bI9tNKqpSKPXYOrI6fWJ5O ssO8QMP2DRXOE01qSd2ncQ162irew0Sgk3TEvKR7jutQtJuifll5H6T2tdiQCW21x0lM 0KifTBKIWg0SxZQjskMCwqOkKaN2KbolYqMAyPVMDeKaW7emuDMUkkNuAHLYbr0baV1m crqQ== X-Gm-Message-State: AOAM533omVWCgU6T7Y9iBQQBI6tA5YSU06lon+C4aUdMDtpdISAVq4d7 b7zE5ZZaE3EAHinK80Ocsbo= X-Google-Smtp-Source: ABdhPJze77ooFB0vIsPcTtuFmf5NMhisFGeVlwJbT+GNx2K5n6nz7Y41yL84n70SIJDy96B+QEMJyw== X-Received: by 2002:ac2:446d:: with SMTP id y13mr4546518lfl.365.1616054193042; Thu, 18 Mar 2021 00:56:33 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id g9sm126271lfc.258.2021.03.18.00.56.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 00:56:31 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 44A3556016B; Thu, 18 Mar 2021 10:56:31 +0300 (MSK) Date: Thu, 18 Mar 2021 10:56:31 +0300 To: Konstantin Osipov Message-ID: References: <20210317185743.964278-1-gorcunov@gmail.com> <20210317212350.GA224985@starling> <20210318051812.GB224985@starling> <20210318075127.GA4019@starling> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210318075127.GA4019@starling> User-Agent: Mutt/2.0.5 (2021-01-21) Subject: Re: [Tarantool-patches] [RFC] gc/xlog: delay xlog cleanup until relays are subscribed X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Cc: Mons Anderson , tml , Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Thu, Mar 18, 2021 at 10:51:27AM +0300, Konstantin Osipov wrote: > > 3) If this option is set then we have a few subcases: > > a) The `_cluster` space is not empty thus thus once > > all replicas are subscribed _before_ the timeout > > expired we trigger the cleanup fiber since it is > > safe to process; > > b) If replicas are not connected and timeout is > > expired we kick the cleanup fiber; > > I mean this. Thanks a lot! I'll make it so then.