You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Difference between revisions of "MariaDB/pt-heartbeat"
|Line 4:||Line 4:|
Revision as of 09:39, 9 June 2021
pt-heartbeat is a service running on MariaDB servers. A process on the source server writes a timestamped row to the heartbeat table every second. A process on the replica compares the most recent entry in the table to the host clock to evaluate the replication lag. MediaWiki load-balancer will avoid replicas that don't have an up-to-date heartbeat entry.
The [upstream version] is developed by Percona, we use a modified version (pt-heartbeat-wikimedia).