[Tarantool-patches] [PATCH v2] replication: add box.info.replication_anon

Konstantin Osipov kostja.osipov at gmail.com
Fri Apr 24 19:39:45 MSK 2020


* Serge Petrenko <sergepetrenko at tarantool.org> [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


More information about the Tarantool-patches mailing list