Skip to content

instance_uri() method for config module #4120

Closed
@TarantoolBot

Description

@TarantoolBot

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:

  1. peer or null to return the URI that is used to create the
    replicaset, or sharding to return the URI that is used to create
    the sharding cluster;
  2. options, which only support options.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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions