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 A1F526EC40; Mon, 27 Sep 2021 10:33:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A1F526EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1632728026; bh=OZhHTAsWx/PN9GnFQxkktXr2fcE2RFNFedppqtyULyg=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=kPXcT488AKBPZrEpKLJAa2tUG9vNmIsrhriqnLlJywAjcNw8AsqC/Tv/okPsRX7/b 0frRfIQRImtPbLPSah+B0w2R8o+BRxQ4TYcFdYfXvAb3JGTqHU/INBPs6MYPLHpakI evQ5ONP7scxWMmRNekKo0+bbSVKYJtjml+dP1tOs= Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 4528C6EC40 for ; Mon, 27 Sep 2021 10:33:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4528C6EC40 Received: by mail-lf1-f47.google.com with SMTP id i25so73697516lfg.6 for ; Mon, 27 Sep 2021 00:33:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3NY0EyJYs6TAg3fTQxDtRWzDsuLMPxYH+s0kQy/AApg=; b=u0aRXa0OEUh+d9jYGNHPnKyQQRfLMRXyqE8YCdHbgKjXAx9dhvrSqtjWAvx4IkDsdy YniDo64PZo1rw9uj3y+r7fF5nSvu/Mwb3P3AA12Ahdha/lvg6qZm54JP5UDmnZ5gMWQK UFkXQKRyh+xTqimLX7dFLUdkUM099UicHBu8Asz1SFMY+iEiNj84njG/ae7+ORU0xmWg UpPE7Q+M3F7qWrqQw2REBRz9uDvKUpu2Nd6+hx7TUGIbUzt3RzkLaIGEzCp0w+nuLM55 UJYJLxxsT700eqdIlwvGrVC926lSF+inDnb/73xtjWInhWQBowA4QORf4hGj5YYQuaoY zJ9A== X-Gm-Message-State: AOAM533xmqIY5X4594MgJ8bgPqQAS3WqRiiumvlUJcTaXclLbMRqjW7t dsbwsczhYOCwPDXaQM2ejggIsZEeAouMcQ== X-Google-Smtp-Source: ABdhPJwhfPzEcCxsHjtoNoZPqEeGHn8R1J1pUVA7aDdzz6IYR+8+GwVb7suJK9hSY9UxAQstt5JE9g== X-Received: by 2002:a05:6512:ac5:: with SMTP id n5mr23193240lfu.292.1632728025241; Mon, 27 Sep 2021 00:33:45 -0700 (PDT) Received: from grain.localdomain ([5.18.253.97]) by smtp.gmail.com with ESMTPSA id f4sm1512283lfr.43.2021.09.27.00.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 00:33:44 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id A0F0F5A001E; Mon, 27 Sep 2021 10:33:43 +0300 (MSK) Date: Mon, 27 Sep 2021 10:33:43 +0300 To: Serge Petrenko Cc: tml , Vladislav Shpilevoy Message-ID: References: <20210922130535.79479-1-gorcunov@gmail.com> <20210922130535.79479-6-gorcunov@gmail.com> <9f449094-3c14-09a6-09a4-56f9163f473f@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9f449094-3c14-09a6-09a4-56f9163f473f@tarantool.org> User-Agent: Mutt/2.0.7 (2021-05-04) Subject: Re: [Tarantool-patches] [PATCH v17 5/5] test: add gh-6036-term-order test 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 Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Mon, Sep 27, 2021 at 10:13:32AM +0300, Serge Petrenko wrote: > > I think it would be simpler to do something like: > > cfg_tbl = {every common parameter} > > if INSTANCE_ID == 'replica2' then cfg_tbl.read_only = true > > box.cfg{} calls for master and replica 1 are identical, replica2 only > differs in read_only = true. Good point! Will do, thanks! Cyrill