Closed
Description
Related dev. issue(s): tarantool/tarantool#9842
Product: Tarantool
Since: 3.1
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/config/
SME: @ ImeevMA
Details
The configuration module's instance_uri()
method returns the URI of
the instance that is used to create a replicaset or sharding cluster.
This method takes two arguments:
peer
or null to return the URI that is used to create the
replicaset, orsharding
to return the URI that is used to create
the sharding cluster;options
, which only supportoptions.instance
, to specify the
instance whose URI should be returned; by default, the URI of the
instance on which the function is executed is returned.
Requested by @ ImeevMA in tarantool/tarantool@1826ca7.