Top.Mail.Ru
Module cartridge.lua-api.topology | Tarantool
Tarantool
Узнайте содержание релиза 2.8
Tarantool Cartridge Table of contents Module cartridge.lua-api.topology

Module cartridge.lua-api.topology

Module cartridge.lua-api.topology

Administration functions (topology related).

Get servers list. Optionally filter out the server with the given uuid.

Parameters:

Returns:

({ServerInfo,…})

Or

(nil)

(table) Error description

Get replicasets list. Optionally filter out the replicaset with given uuid.

Parameters:

Returns:

({ReplicasetInfo,…})

Or

(nil)

(table) Error description

Discover an instance.

Parameters:

Enable nodes after they were disabled.

Parameters:

Returns:

({ServerInfo,…})

Or

(nil)

(table) Error description

Temporarily diable nodes.

Parameters:

Returns:

({ServerInfo,…})

Or

(nil)

(table) Error description

Restart replication on specified instances.

(added in v2.6.0-43)

Parameters:

Returns:

(boolean) true

Or

(nil)

(table) Error description

Get alias, uri and uuid of current instance.

Returns:

(table)