Skip to content

box.cfg.bootstrap_leader accepts instance names now #3504

Closed
@TarantoolBot

Description

@TarantoolBot

The option box.cfg.bootstrap_leader, which specifies the desired
bootstrap leader when bootstrap_strategy is "config" now accepts
instance names.

For example, this is a valid config without replication:

box.cfg{
    instance_name = 'main-server',
    bootstrap_strategy = 'config',
    bootstrap_leader = 'main-server'
}

When box.cfg contains some entries in replication, the node will
bootstrap from the node which has the instance name specified in
box.cfg.bootstrap_leader.

This is an addition to #3432
Requested by @sergepetrenko in tarantool/tarantool@8ceef02.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions