mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
e0e096faaa
The InnoDB write-ahead log ib_logfile0 is of fixed size, specified by innodb_log_file_size. If the tail of the log manages to overwrite the head (latest checkpoint) of the log, crash recovery will be broken. Let us clarify the messages about this, including adding a message on the completion of a log checkpoint that notes that the dangerous situation is over. To reproduce the dangerous scenario, we will introduce the debug injection label ib_log_checkpoint_avoid_hard, which will avoid log checkpoints even harder than the previous ib_log_checkpoint_avoid. log_t::overwrite_warned: The first known dangerous log sequence number. Set in log_close() and cleared in log_write_checkpoint_info(), which will output a "Crash recovery was broken" message. |
||
---|---|---|
.. | ||
buf0block_hint.cc | ||
buf0buddy.cc | ||
buf0buf.cc | ||
buf0checksum.cc | ||
buf0dblwr.cc | ||
buf0dump.cc | ||
buf0flu.cc | ||
buf0lru.cc | ||
buf0rea.cc |