Given MySQL is setup for master-slave replication, when delayed replication is set on the slave, does the slave still read the binlog while it is waiting for the delay period to pass?
From MySQL documentation:
An event received from the master is not executed until at least N seconds later than its execution on the master. The exceptions are that there is no delay for format description events or log file rotation events, which affect only the internal state of the SQL thread.
My understanding from reading it is that the binlog from master is still read, but it is not applied to the slave until the delay timer expires. Is this correct, or does the slave wait until the delay timer finishes and then read from the master binlog file.
If it does continue to read while waiting, where are the events stored? (in memory or a tmp file?)