MySQL 9.1.0
Source Code Documentation
|
Common implementation for redo log and dirty page archiver system. More...
Functions | |
bool | arch_wake_threads () |
Wakes up archiver threads. More... | |
void | arch_remove_file (const char *file_path, const char *file_name) |
Remove files related to page and log archiving. More... | |
void | arch_remove_dir (const char *dir_path, const char *dir_name) |
Remove group directory and the files related to page and log archiving. More... | |
dberr_t | arch_init () |
Initialize Page and Log archiver system. More... | |
void | arch_free () |
Free Page and Log archiver system. More... | |
int | start_log_archiver_background () |
Start log archiver background thread. More... | |
int | start_page_archiver_background () |
Start page archiver background thread. More... | |
void | log_archiver_thread () |
Archiver background thread. More... | |
Variables | |
Arch_Log_Sys * | arch_log_sys = nullptr |
Log Archiver system global. More... | |
Arch_Page_Sys * | arch_page_sys = nullptr |
Page Archiver system global. More... | |
os_event_t | log_archiver_thread_event |
Event to signal the log archiver thread. More... | |
Common implementation for redo log and dirty page archiver system.
void arch_free | ( | ) |
Free Page and Log archiver system.
dberr_t arch_init | ( | ) |
Initialize Page and Log archiver system.
void arch_remove_dir | ( | const char * | dir_path, |
const char * | dir_name | ||
) |
Remove group directory and the files related to page and log archiving.
[in] | dir_path | path to the directory |
[in] | dir_name | directory name |
void arch_remove_file | ( | const char * | file_path, |
const char * | file_name | ||
) |
Remove files related to page and log archiving.
[in] | file_path | path to the file |
[in] | file_name | name of the file |
bool arch_wake_threads | ( | ) |
Wakes up archiver threads.
void log_archiver_thread | ( | ) |
Archiver background thread.
Log archiver background thread.
int start_log_archiver_background | ( | ) |
Start log archiver background thread.
int start_page_archiver_background | ( | ) |
Start page archiver background thread.
Arch_Log_Sys* arch_log_sys = nullptr |
Log Archiver system global.
Redo log archiver system global.
Arch_Page_Sys* arch_page_sys = nullptr |
Page Archiver system global.
Dirty page ID archiver system global.
os_event_t log_archiver_thread_event |
Event to signal the log archiver thread.
Archiver thread event to signal that data is available.