|
I applied this debug-only cleanup to 10.5, because the test innodb.redo_log_during_checkpoint would occasionally fail due to the function log_checkpoint() triggering some apparent bug in the DBUG subsystem via safe_mutex. In 10.8, MDEV-14425 should have made the conditions unreachable. In 10.5 log checkpoints are tightly coupled with the single buf_flush_page_cleaner thread. The debug instrumentation is more relevant to 10.2, 10.3, 10.4, where there can be multiple page cleaner threads, and the checkpoints are invoked by yet other threads.
|