Updated at July 17, 2026 02:08 PM
box.info.ro_reason
Since: 2.10.0
The reason why the current instance is read-only. To get whether the
current instance is writable or read-only, use
box_info_ro. If the instance is in writable mode,
box.info.ro_reason returns nil.
The possible values returned by ro_reason:
election– the instance is not the leader. See box.info.election for details.synchro– the instance is not the owner of the synchronous transaction queue. For details, see box.info.synchro.config– the instance is is configured to be read only.orphan– the instance is inorphanstate. For details, see the orphan status page.
Return type
string
Example
sharded_cluster_crud:storage-a-002> box.info.ro---- true...sharded_cluster_crud:storage-a-002> box.info.ro_reason---- config...