@@ -28,11 +28,13 @@ variables.
28
28
* **pid ** is the process ID. This value is also shown by
29
29
:ref: `tarantool <tarantool-build >` module
30
30
and by the Linux command ``ps -A ``.
31
- * **ro ** is ``true `` if the instance is in " read-only" mode
31
+ * **ro ** is ``true `` if the instance is in read-only mode
32
32
(same as :ref: `read_only <cfg_basic-read_only >` in ``box.cfg{} ``),
33
33
or if status is 'orphan'.
34
34
* **ro_reason ** is ``nil `` if the instance is in writable mode.
35
- When the field is ``true ``, it reports an error reason.
35
+ When the field is not ``nil ``, it contains a reason why the instance is read-only.
36
+ Possible error reasons: ``election ``, ``synchro ``, ``config ``, and ``orphan ``
37
+ (see :ref: `box.info.ro_reason <box_info_ro-reason >` for details).
36
38
* **signature ** is the sum of all ``lsn `` values from each :ref: `vector clock <replication-vector >`
37
39
(**vclock **) for all instances in the replica set.
38
40
* **sql().cache.size ** is the number of bytes in the SQL prepared statement cache.
@@ -98,7 +100,7 @@ Below is a list of all ``box.info`` functions and members.
98
100
- Show the current state of synchronous replication
99
101
100
102
* - :doc: `./box_info/ro_reason `
101
- - List of all error reasons for the `` box.info.ro_reason `` field
103
+ - Show the current mode of an instance (writable or read-only)
102
104
103
105
.. toctree ::
104
106
:hidden:
0 commit comments