Cloud Service only.

ReplicaStats contains information about replica lag for a specific replica.

Replica lag is a measure of how current this table is relative to the remote replica and indicates that this table has not yet received updates that happened within the lag period.

For example, if the replica lag is 5,000 milliseconds(5 seconds), then this table will have all updates that occurred at the remote replica that are more than 5 seconds old.

Replica lag is calculated based on how long it took for the latest operation from the table at the remote replica to be replayed at this table. If there have been no application writes for the table at the remote replica, the service uses other mechanisms to calculate an approximation of the lag, and the lag statistic will still be available.

Hierarchy

  • ReplicaStats

Properties

collectionTime: Date

The time the replica stats collection was performed.

replicaLag?: number

The replica lag collected at the specified time in milliseconds. In rare cases where the replica lag could not be determined, this value is undefined.

Generated using TypeDoc