Skip to content

[3pt] box.info.ro_reason #2445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 4 tasks
Tracked by #2802 ...
TarantoolBot opened this issue Nov 16, 2021 · 0 comments · Fixed by #3170
Closed
2 of 4 tasks
Tracked by #2802 ...

[3pt] box.info.ro_reason #2445

TarantoolBot opened this issue Nov 16, 2021 · 0 comments · Fixed by #3170
Assignees
Labels
feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality
Milestone

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Nov 16, 2021

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

@veod32 veod32 changed the title box.info.ro_reason [3pt] box.info.ro_reason Dec 29, 2021
@veod32 veod32 added server [area] Task relates to Tarantool's server (core) functionality reference [location] Tarantool manual, Reference part feature A new functionality labels Dec 29, 2021
@veod32 veod32 modified the milestones: Estimate [@veod32], error Dec 29, 2021
@veod32 veod32 assigned xuniq and unassigned veod32 Sep 27, 2022
xuniq added a commit that referenced this issue Oct 6, 2022
@veod32 veod32 removed the 3sp label Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants