box.info.config
-
box.info.
config
¶ Since: 3.2.0
The instance’s state in regard to configuration. Note that
box.info.config
returns the instance’s state obtained using config:info(„v2“).Since version 3.3.0 returns the
hierarchy
table, showing names of the group, replicaset, and the instance itself. These names are taken directly from the--name
CLI option (or theTT_INSTANCE_NAME
environment variable) and the cluster configuration. This means they are always present if the YAML configuration flow is in use, disregarding the database status (whether upgraded, writable or not).Rtype: table Example
sharded_cluster_crud:storage-a-002> box.info.config --- - status: ready meta: last: &0 [] active: *0 alerts: [] hierarchy: group: storages replicaset: storage-a instance: storage-a-002 ...