From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 6999645C305 for ; Tue, 8 Dec 2020 00:48:28 +0300 (MSK) Received: by mail-lf1-f48.google.com with SMTP id y19so8116125lfa.13 for ; Mon, 07 Dec 2020 13:48:28 -0800 (PST) Date: Tue, 8 Dec 2020 00:48:25 +0300 From: Cyrill Gorcunov Message-ID: <20201207214825.GF2303@grain> References: <20201203140446.66312-1-gorcunov@gmail.com> <20201203140446.66312-3-gorcunov@gmail.com> <33204324-de84-c12d-f22a-51659f0b7d20@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33204324-de84-c12d-f22a-51659f0b7d20@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v3 2/3] cfg: support symbolic evaluation of replication_synchro_quorum List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: Mons Anderson , tml On Mon, Dec 07, 2020 at 10:25:43PM +0100, Vladislav Shpilevoy wrote: > Hi! > > > 6. > > tarantool> box.cfg{replication_synchro_quorum='"1"'} > > 2020-12-05 00:49:02.251 [59985] main/103/interactive I> set 'replication_synchro_quorum' configuration option to "\"1\"" > > --- > > ... > > > > I gave string "1", but it is accepted. Can it be fixed? > > > > Why don't I see this log line "update replication_synchro_quorum", > > which you use in the test in the next commit? > > You asked, how to check if the expression is not a number. > This diff works on the example above - raises an error. > Thanks! Force pushed.