box.info.config
-
box.info.config¶ Since: 3.2.0
The instance’s state in regard to configuration. Note that
box.info.configreturns the instance’s state obtained using config:info(‘v2’).Since version 3.3.0 returns the
hierarchytable, showing names of the group, replicaset, and the instance itself. These names are taken directly from the--nameCLI option (or theTT_INSTANCE_NAMEenvironment 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 ...