#include <log0log.h>
Public Attributes | |
ulint | id |
ulint | n_files |
ulint | file_size |
ulint | space_id |
ulint | state |
ib_uint64_t | lsn |
ulint | lsn_offset |
ulint | n_pending_writes |
byte ** | file_header_bufs_ptr |
byte ** | file_header_bufs |
ib_uint64_t | scanned_lsn |
byte * | checkpoint_buf_ptr |
byte * | checkpoint_buf |
log_groups |
Log group consists of a number of log files, each of the same size; a log group is implemented as a space in the sense of the module fil0fil.
checkpoint header is written from this buffer to the group
Definition at line 722 of file log0log.h.
Referenced by log_group_init().
unaligned checkpoint header
Definition at line 721 of file log0log.h.
Referenced by log_group_init().
buffers for each file header in the group
Definition at line 693 of file log0log.h.
Referenced by log_group_init().
individual log file size in bytes, including the log file header
Definition at line 681 of file log0log.h.
Referenced by log_group_get_capacity(), log_group_init(), log_group_read_log_seg(), and log_group_write_buf().
ulint log_group_struct::id |
log group id
Definition at line 679 of file log0log.h.
Referenced by log_group_init(), log_group_write_buf(), log_io_complete(), and recv_recovery_from_checkpoint_start_func().
ib_uint64_t log_group_struct::lsn |
lsn used to fix coordinates within the log group
Definition at line 687 of file log0log.h.
Referenced by log_group_init(), log_group_set_fields(), and recv_reset_logs().
the offset of the above lsn
Definition at line 689 of file log0log.h.
Referenced by log_group_init(), log_group_set_fields(), and recv_reset_logs().
number of files in the group
Definition at line 680 of file log0log.h.
Referenced by log_group_get_capacity(), and log_group_init().
number of currently pending flush writes for this log group
Definition at line 690 of file log0log.h.
Referenced by log_group_init(), log_io_complete(), and log_write_up_to().
ib_uint64_t log_group_struct::scanned_lsn |
used only in recovery: recovery scan succeeded up to this lsn in this log group
Definition at line 718 of file log0log.h.
Referenced by recv_recovery_from_checkpoint_start_func().
file space which implements the log group
Definition at line 683 of file log0log.h.
Referenced by log_group_init(), log_group_read_checkpoint_info(), log_group_read_log_seg(), log_group_write_buf(), log_io_complete(), log_write_up_to(), and recv_recovery_from_checkpoint_start_func().
ulint log_group_struct::state |
LOG_GROUP_OK or LOG_GROUP_CORRUPTED
Definition at line 685 of file log0log.h.
Referenced by log_group_init().