Skip to content

[3pt] box.info.ro_reason #2445

Closed
Closed
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
Since: 2.10.0-beta2
Audience/target: Tarantool users
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/
SME: @ Gerold103

Related to #2444
Has a follow-up in #2953

Details

The new box.info field - ro_reason - is nil on a writable
instance. On a read-only instance box.info.ro == true it reports
an error reason. Currently the list is

  • 'election' - box.cfg.election_mode is not 'off' and this
    instance is not a leader. See box.info.election for details.
  • 'synchro' - the synchro queue is owned by some other instance.
    For details see box.info.synchro.
  • 'config' - box.cfg.read_only is true;
  • 'orphan' - the instance is in orphan state.
    Requested by @Gerold103 in tarantool/tarantool@48185e8

ToDo

Metadata

Metadata

Assignees

Labels

featureA new functionalityreference[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions