Drizzled Public API Documentation

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

Member Data Documentation

byte* log_group_struct::checkpoint_buf
                 checkpoint header is written from

this buffer to the group

Definition at line 753 of file log0log.h.

Referenced by log_group_init().

byte* log_group_struct::checkpoint_buf_ptr

unaligned checkpoint header

Definition at line 752 of file log0log.h.

Referenced by log_group_init().

byte** log_group_struct::file_header_bufs
                  buffers for each file

header in the group

Definition at line 724 of file log0log.h.

Referenced by log_group_init().

byte** log_group_struct::file_header_bufs_ptr

unaligned buffers

Definition at line 723 of file log0log.h.

Referenced by log_group_init().

ulint log_group_struct::file_size
             individual log file size in bytes,

including the log file header

Definition at line 712 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_struct::log_groups

list of log groups

Definition at line 756 of file log0log.h.

ib_uint64_t log_group_struct::lsn
             lsn used to fix coordinates within

the log group

Definition at line 718 of file log0log.h.

Referenced by log_group_init(), log_group_set_fields(), and recv_reset_logs().

ulint log_group_struct::lsn_offset

the offset of the above lsn

Definition at line 720 of file log0log.h.

Referenced by log_group_init(), log_group_set_fields(), and recv_reset_logs().

ulint log_group_struct::n_files

number of files in the group

Definition at line 711 of file log0log.h.

Referenced by log_group_get_capacity(), and log_group_init().

ulint log_group_struct::n_pending_writes
                  number of currently pending flush

writes for this log group

Definition at line 721 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 749 of file log0log.h.

Referenced by recv_recovery_from_checkpoint_start_func().

ulint log_group_struct::space_id
ulint log_group_struct::state
           LOG_GROUP_OK or

LOG_GROUP_CORRUPTED

Definition at line 716 of file log0log.h.

Referenced by log_group_init().


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