-
Notifications
You must be signed in to change notification settings - Fork 43
Update docs for the 'box.info' module #4427
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
Conversation
746ed9c
to
b03b944
Compare
b03b944
to
8693fb8
Compare
b952942
to
87ef2e6
Compare
d50ce5a
to
9359e95
Compare
|
||
.. data:: package | ||
|
||
The package name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: We can say something like the following:
Currently there are
Tarantool
andTarantool Enterprise
packages.
This way it is less abstract and a developer knows that it allows to distinguish CE/EE editions.
|
||
The package name. | ||
|
||
See also: :ref:`tarantool --version <index-tarantool_version>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also reported from tarantool.package
.
|
||
The Tarantool version. | ||
|
||
See also: :ref:`tarantool --version <index-tarantool_version>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also reported from tarantool.version
. See https://stackoverflow.com/a/65330537/1598057.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I've no objections.
- The instance's state in regard to configuration | ||
|
||
* - :doc:`./box_info/election` | ||
- The current state of this replica set node in regards to leader election |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The current state of this replica set node in regards to leader election | |
- The current state of this replica set node in regard to leader election |
|
||
Show the current state of a replica set node in regards to :ref:`leader election <repl_leader_elect>`. | ||
The current state of this replica set node in regards to :ref:`leader election <repl_leader_elect>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current state of this replica set node in regards to :ref:`leader election <repl_leader_elect>`. | |
The current state of this replica set node in regard to :ref:`leader election <repl_leader_elect>`. |
This PR updates the
box.info
documentation to make its quality a bit better:box.info
now have their own pages.PR also includes updates introduced in v3.0.0 and later, for example, box.info.config, box.info.hostname. See the staging here: https://docs.d.tarantool.io/en/doc/update-box-info/reference/reference_lua/box_info/
Also some new
box.cfg
options are documented (instance_name
,replicaset_name
,cluster_name
): https://docs.d.tarantool.io/en/doc/update-box-info/reference/configuration/#replicationUPD: Specified the rules applied to names in the Configuration reference:
https://docs.d.tarantool.io/en/doc/update-box-info/reference/configuration/configuration_reference/#groups
They are the same as for new
box.cfg
options.