We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
box.info.election
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
Related dev. issue(s): tarantool/tarantool#8931
Product: Tarantool Since: 3.0 Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/election/ SME: @ Astronomax
box.info.election now contains one more field: leader_name: string. There are several possible values for this field:
leader_name
nil, if there is no leader in a cluster.
nil
box.NULL, if there is a leader, but he does not have a name.
box.NULL
some string, if there is a leader and he has a name.
some string
Example:
tarantool> box.info.election --- - leader_idle: 0 leader_name: node1 state: leader vote: 1 term: 3 leader: 1 ...
[box-info-election] https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/election/ Requested by @ Astronomax in tarantool/tarantool@307f3c5.
The text was updated successfully, but these errors were encountered:
https://docs.d.tarantool.io/en/doc/3.0/reference/reference_lua/box_info/election/
Sorry, something went wrong.
andreyaksenov
Successfully merging a pull request may close this issue.
Related dev. issue(s): tarantool/tarantool#8931
Product: Tarantool
Since: 3.0
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/election/
SME: @ Astronomax
Details
box.info.election now contains one more field:
leader_name
: string.There are several possible values for this field:
nil
, if there is no leader in a cluster.box.NULL
, if there is a leader, but he does not have a name.some string
, if there is a leader and he has a name.Example:
[box-info-election] https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/election/
Requested by @ Astronomax in tarantool/tarantool@307f3c5.
The text was updated successfully, but these errors were encountered: