You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since commit tarantool/tarantool@10e11e9 replication lag and idle statistics are updated even if the master is idle. This is done by sending "heartbeat" messages every box.cfg.replication_timeout seconds (see tarantool/tarantool#2976). Please update the documentation accordingly.
The primary indicators of replication health are idle and lag parameters:
idle is the time since this replica received the last event from a master.
lag is the time difference between the local time at the replica, recorded when the event was received, and the local time at the master recorded when the event was written to the write ahead log on the master. Since lag calculation uses operating system clock from two different machines, don’t be surprised if it’s negative: a time drift may lead to the master clock being consistently behind the replica clock.
Idle is the primary indicator of replication health. A replica sends heartbeat messages to the master every second, and the master is programmed to reconnect automatically if it doesn’t see heartbeat messages more often than replication_reconnect_interval seconds. Therefore, in a healthy replication setup, idle should never exceed replication_reconnect_interval: if it does, either your replication is lagging seriously behind, because the master is running ahead of the replica, or the network link between the instances is down.
The text was updated successfully, but these errors were encountered:
Since commit tarantool/tarantool@10e11e9 replication
lag
andidle
statistics are updated even if the master is idle. This is done by sending "heartbeat" messages everybox.cfg.replication_timeout
seconds (see tarantool/tarantool#2976). Please update the documentation accordingly.A proposal by @kostja:
The text was updated successfully, but these errors were encountered: