box.info.replication_anon()
-
box.info.replication_anon()¶ List all the anonymous replicas following the instance.
The output is similar to the one produced by
box.info.replicationwith an exception that anonymous replicas are indexed by their uuid strings rather than server ids, since server ids have no meaning for anonymous replicas.Notice that when you issue a plain
box.info.replication_anon, the only info returned is the number of anonymous replicas following the current instance. In order to see the full stats, you have to callbox.info.replication_anon(). This is done to not overload thebox.infooutput with excess info, since there may be lots of anonymous replicas.Example:
anonymous_replica:instance001> box.info.replication_anon --- - count: 1 ... anonymous_replica:instance001> box.info.replication_anon() --- - 44237cb4-de83-4347-b6db-46274b940acf: id: 0 uuid: 44237cb4-de83-4347-b6db-46274b940acf lsn: 0 downstream: status: follow idle: 0.81613899999866 vclock: {1: 7} lag: 0 name: null ...
Notice that anonymous replicas hide their
lsnfrom the others, so an anonymous replicalsnwill always be reported as zero, even if an anonymous replica performs some local space operations. To find out thelsnof a specific anonymous replica, you have to issuebox.info.lsnon it.