MySQL replication, error 1159, and why you might want to upgrade
-
Jim B., Engineering Manager
- Mar 31, 2014
pre.mysql-block { overflow-x: auto; margin: 0 0 1em 1em; } At Yelp, we use MySQL replication to provide the performance we need to serve our 120 million monthly unique visitors. In this post Josh Snyder walks us through some of the internals of MySQL’s replication system, and discusses an issue that we saw in production. MySQL replication and the slave I/O thread’s purpose On a MySQL slave, the task of replication is split between two threads: the I/O and SQL threads. The I/O thread’s job is to download the log of events executed on the master and write them to...