box.info.ro_reason
- 
 
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_reasonreturnsnil.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.
Rtype: string Example
sharded_cluster_crud:storage-a-002> box.info.ro --- - true ... sharded_cluster_crud:storage-a-002> box.info.ro_reason --- - config ...