Due to log archiving running in a separate thread we need DBUG_SYNC in code/testcase at least between any places that produce log and check the archived log files, i.e. between last INSERT and following list_files_append_file.
In the code the sync point should be around os_event_set(log_sys->arch_event_rotate_done) call.
Due to log archiving running in a separate thread we need DBUG_SYNC in code/testcase at least between any places that produce log and check the archived log files, i.e. between last INSERT and following list_files_ append_ file.
In the code the sync point should be around os_event_ set(log_ sys->arch_ event_rotate_ done) call.