diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-10-15 10:27:25 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-10-15 10:33:23 +0300 |
commit | 46b1f500983d45e89dc84bb9820023bd51a4cda8 (patch) | |
tree | 7bc4337e341848169d4f4d28a8de0bbc1583ebb5 /mysql-test/suite/innodb/t/purge_secondary.test | |
parent | b535a7904425d730c4dff185f0f313ed99dfbb50 (diff) | |
download | mariadb-git-46b1f500983d45e89dc84bb9820023bd51a4cda8.tar.gz |
MDEV-23399: Remove buf_pool.flush_rbt
Normally, buf_pool.flush_list must be sorted by
buf_page_t::oldest_modification, so that log_checkpoint()
can choose MIN(oldest_modification) as the checkpoint LSN.
During recovery, buf_pool.flush_rbt used to guarantee the
ordering. However, we can allow the buf_pool.flush_list to
be in an arbitrary order during recovery, and simply ensure
that it is in the correct order by the time a log checkpoint
needs to be executed.
recv_sys_t::apply(): To keep it simple, we will always flush the
buffer pool at the end of each batch.
Note that log_checkpoint() will invoke recv_sys_t::apply() in case
a checkpoint is initiated during the last batch of recovery,
when we already allow writes to data pages and the redo log.
Reviewed by: Vladislav Vaintroub
Diffstat (limited to 'mysql-test/suite/innodb/t/purge_secondary.test')
0 files changed, 0 insertions, 0 deletions