- box.info.vclock
box.info.vclock box.info.vclock A table with the vclock values of all instances in a replica set which have made data changes. Rtype:table
- box.info.gc()
– a checkpoint’s vclock value. checkpoints[n].signature – a sum of a checkpoint’s vclock’s components. checkpoint_is_in_progress – true if a checkpoint is in progress, otherwise false vclock – the garbage
- Class luatest.server
Server:wait_for_vclock (vclock) Wait until the server’s own vclock reaches at least the given value. Including the local component. Parameters: vclock: (tab) Server’s own vclock to reach.
- box.read_view.list()
Server:wait_for_vclock (vclock) Wait until the server’s own vclock reaches at least the given value. Including the local component. Parameters: vclock: (tab) Server’s own vclock to reach.
- box.info.replication
: 1172.202995842 signature: 49 is_system: false status: open vclock: &1 {1: 49} name: read_view2 id: 2 ...
- Keys used in requests and responses
Local space operations are now counted in 0th vclock component. Every instance may have its own 0-th vclock component not matching others’.
- Master-replica: manual failover
(Notice that the table may have multiple pairs although vclock is a singular name).
- box.info()
-e437-4296-85b0-d27a0621613e lsn: 0 3: id: 3 uuid: bb362584-c265-4e53-aeb6-450ae818bf59 lsn: 0 -- upstream is absent downstream: status: follow idle: 0.26624799999991 vclock
- box.info.signature
-e437-4296-85b0-d27a0621613e lsn: 0 3: id: 3 uuid: bb362584-c265-4e53-aeb6-450ae818bf59 lsn: 0 -- upstream is absent downstream: status: follow idle: 0.26624799999991 vclock
- Monitoring a replica set
Local space operations are now counted in 0th vclock component. Every instance may have its own 0-th vclock component not matching others’.
- Master-replica: automated failover
Vclock keys The vclock (vector clock) is a log sequence number map that defines the version of the dataset stored on the node.
- Understanding the binary protocol
Vclock keys The vclock (vector clock) is a log sequence number map that defines the version of the dataset stored on the node.
- Master-master
Local space operations are now counted in 0th vclock component. Every instance may have its own 0-th vclock component not matching others’.
- box.info.replication_anon()
Note Note that a vclock value might include the 0 component that is related to local space operations and might differ for different instances in a replica set.
- File formats
Note Note that a vclock value might include the 0 component that is related to local space operations and might differ for different instances in a replica set.
- Recovering from a degraded state
leader: 0 term: 1 signature: 1092 synchro: queue: owner: 0 confirm_lag: 0 term: 0 age: 0 len: 0 busy: false quorum: 2 status: running sql: [] vclock
- Replication cluster upgrade
box.info.signature box.info.signature The sum of all lsn values from each vector clock (vclock) for all instances in the replica set the current instance belongs to. Rtype:number
- Submodule box.info
cd3c7da2-a638-4c5d-ae63-e7767c3a6896 lsn: 31 upstream: status: follow idle: 43.187747001648 peer: replicator@192.168.0.102:3301 lag: 0 downstream: vclock
- Replication requests and responses
follow idle: 0.052655000000414 peer: replicator@127.0.0.1:3302 lag: 0.00010204315185547 name: instance002 downstream: status: follow idle: 0.09503500000028 vclock
- Resolving replication conflicts
follow idle: 0.052655000000414 peer: replicator@127.0.0.1:3302 lag: 0.00010204315185547 name: instance002 downstream: status: follow idle: 0.09503500000028 vclock
- Function box.snapshot
Note Note that a vclock value might include the 0 component that is related to local space operations and might differ for different instances in a replica set.
- Read views
Note Note that a vclock value might include the 0 component that is related to local space operations and might differ for different instances in a replica set.
- Orphan status
For example, 0...0.xlog, covering everything up to vclock {1: 15} and 0...09.snap, corresponding to vclock {1: 9} (gh-6794).