Harrison and Konstantin (Kostja) did not like my plan for making FLUSH TABLES WITH READ LOCK faster and suggested an alternative that is non-blocking and faster. The new syntax is as beautiful as the one it replaces -- START TRANSACTION WITH CONSISTENT INNODB SNAPSHOT.
I am still working on the return values for this command. I planned for this command to work on a master. Domas suggested I make this work on the slave too, so this returns 0, 1 or 2 rows:
- binlog filename and offset if the binlog is open
- master's binlog filename and offset if the server is a replication slave
Domas and I discussed another mutex contention problem that limits performance on servers that can do 10,000+ IOPs and I have another idea for tracking …
[Read more]