| Tarantool

Since 2.10.0. Show the current mode of an instance (writable or read-only). Contains nil if the instance is in writable mode. When the field is not nil, reports the reason why the instance is read-only.

Possible error reasons:

  • election – the instance is not the leader. That is, box.cfg.election_mode is not off. See for details.
  • synchro – the instance is not the owner of the synchronous transaction queue. For details, see
  • config – the server instance is in read-only mode. That is, box.cfg.read_only is true.
  • orphan – the instance is in orphan state. For details, see the orphan status page.


- null
Found what you were looking for?