drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
log_group_struct Struct Reference

#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

Detailed Description

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.

Definition at line 680 of file log0log.h.

Member Data Documentation

◆ checkpoint_buf

byte* log_group_struct::checkpoint_buf

checkpoint header is written from this buffer to the group

Definition at line 725 of file log0log.h.

◆ checkpoint_buf_ptr

byte* log_group_struct::checkpoint_buf_ptr

unaligned checkpoint header

Definition at line 724 of file log0log.h.

◆ file_header_bufs

byte** log_group_struct::file_header_bufs

buffers for each file header in the group

Definition at line 696 of file log0log.h.

◆ file_header_bufs_ptr

byte** log_group_struct::file_header_bufs_ptr

unaligned buffers

Definition at line 695 of file log0log.h.

◆ file_size

ulint log_group_struct::file_size

individual log file size in bytes, including the log file header

Definition at line 684 of file log0log.h.

◆ id

ulint log_group_struct::id

log group id

Definition at line 682 of file log0log.h.

◆ log_groups

log_group_struct::log_groups

list of log groups

Definition at line 728 of file log0log.h.

◆ lsn

ib_uint64_t log_group_struct::lsn

lsn used to fix coordinates within the log group

Definition at line 690 of file log0log.h.

◆ lsn_offset

ulint log_group_struct::lsn_offset

the offset of the above lsn

Definition at line 692 of file log0log.h.

◆ n_files

ulint log_group_struct::n_files

number of files in the group

Definition at line 683 of file log0log.h.

◆ n_pending_writes

ulint log_group_struct::n_pending_writes

number of currently pending flush writes for this log group

Definition at line 693 of file log0log.h.

◆ scanned_lsn

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 721 of file log0log.h.

◆ space_id

ulint log_group_struct::space_id

file space which implements the log group

Definition at line 686 of file log0log.h.

◆ state

ulint log_group_struct::state

LOG_GROUP_OK or LOG_GROUP_CORRUPTED

Definition at line 688 of file log0log.h.


The documentation for this struct was generated from the following file: