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 D6E1C6FC86; Mon, 22 Mar 2021 11:07:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D6E1C6FC86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616400470; bh=ud2aXWQ2bRajO9p41D71kwtdDNIr0IhPAeSRfHv9pEA=; 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=vjW0uGyPPuUYBIc9sVQQEJvBrPcs/TyeFSPxyI3hl81cfUFeeOMUtCJn6994o+mbx mq8m2m9K13AKP+cMLLxQ75srhc7qnTcSA4d5y3aKA+HL7Gs0mUlEI80zeoRNXMCYvV 6qZMd84CxvbTD/3iO3U0QcjKSav4t6WbqEW82Baw= Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 F2B466FC86 for ; Mon, 22 Mar 2021 11:07:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org F2B466FC86 Received: by mail-wr1-f46.google.com with SMTP id e9so15613491wrw.10 for ; Mon, 22 Mar 2021 01:07:48 -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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=vH4u7+8F0TFihYJw4NISv4vE5Wp2KMi9XpDPTnkFIOM=; b=sOLBascOmNGBxYZ1YddRTNurVUPCNsS1g4RFXlrTa7i9pOFBLyqiDdiL7aWhfswr3i EOvPvCXZiBnxdL3eLFVsIZhllHnDZlUkz8bnwfkVy4/dqpaqizpKvXQUO5u0HMpoYyW3 0EU02HAvUYZdnM0hb0+mo5DqZ9wUp940aV/+Yn47/XidUlT+JtQ2jnOwDF0hFsQxYAcA 79Rq3gFzyx6wKfn0lKTxWLlJMhM0k15EmkkWWpSJj9DsJn4SF4RplaMqCZQALPORa7Jh pN00CG0VD7ze4Ptcba62GiwZ5k5m97K/ozC6QaROkm4l/XE68sFYFr6xzfrpWu/MkZge xj4g== X-Gm-Message-State: AOAM533OXqlBR2fAJ3u60cxVZKTXuSaBWQaKLkoAhNodotemC4u2szZe CmxU9zZ7E1rz8yOyKDpLrA== X-Google-Smtp-Source: ABdhPJwF9aPBYeKqcNn5KcYmhpNk1M8euOsittgyhlWOD4F2AvfReo4Uo2fyEnYnFVIiey3zD9bxIQ== X-Received: by 2002:a05:6000:1868:: with SMTP id d8mr16936490wri.301.1616400468434; Mon, 22 Mar 2021 01:07:48 -0700 (PDT) Received: from sterling.local ([212.57.29.100]) by smtp.gmail.com with ESMTPSA id i26sm16822685wmb.18.2021.03.22.01.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 01:07:47 -0700 (PDT) Received: by sterling.local (Postfix, from userid 1000) id 86FE7E60068; Mon, 22 Mar 2021 11:07:46 +0300 (MSK) Date: Mon, 22 Mar 2021 11:07:46 +0300 To: Cyrill Gorcunov Message-ID: <20210322080746.GB110797@starling> Mail-Followup-To: Konstantin Osipov , Cyrill Gorcunov , tml , Vladislav Shpilevoy , Serge Petrenko , Kirill Yukhin , Mons Anderson References: <20210320131521.1249747-1-gorcunov@gmail.com> <20210320131521.1249747-2-gorcunov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210320131521.1249747-2-gorcunov@gmail.com> Subject: Re: [Tarantool-patches] [PATCH v2 1/3] 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: Konstantin Osipov via Tarantool-patches Reply-To: Konstantin Osipov Cc: Mons Anderson , tml , Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" * Cyrill Gorcunov [21/03/22 10:02]: > Since replicas are tracked via `_cluster` system space this we use > its content to count subscribed replicas and when all of them are > up and running the cleanup procedure is automatically enabled even > if `wal_cleanup_delay` is not expired. > > The `wal_cleanup_delay` should be set to: > > - `-1` to wait infinitely until all existing replicas are subscribed; > - `0` to disable the cleanup delay; > - `>0` to wait for specified number of seconds. wal_gc_delay maybe? -- Konstantin Osipov, Moscow, Russia https://scylladb.com