From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) (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 C78EC4696C3 for ; Fri, 24 Apr 2020 19:39:47 +0300 (MSK) Received: by mail-lj1-f193.google.com with SMTP id a21so10603802ljb.9 for ; Fri, 24 Apr 2020 09:39:47 -0700 (PDT) Date: Fri, 24 Apr 2020 19:39:45 +0300 From: Konstantin Osipov Message-ID: <20200424163945.GD27619@atlas> References: <20200424162855.25920-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200424162855.25920-1-sergepetrenko@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v2] replication: add box.info.replication_anon List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org * Serge Petrenko [20/04/24 19:33]: > Closes #4900 > > @TarantoolBot document > Title: add new field to box.info: replication_anon > > It is now possible to list all the anonymous replicas following the > instance with a call to `box.info.replication_anon()` > The output is similar to the one produced by `box.info.replication` with > an exception that anonymous replicas are indexed by their uuid strings > rather then server ids, since server ids have no meaning for anonymous > replicas. > > Example: > ``` > tarantool> box.info.replication_anon > --- > - [] > ... > > tarantool> box.info.replication_anon() Why do you have to use ()? Isn't it inconsistent with box.info.replication? -- Konstantin Osipov, Moscow, Russia https://scylladb.com