Drizzled Public API Documentation

log_group_struct Struct Reference

#include <log0log.h>

List of all members.

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


Member Data Documentation

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().

unaligned buffers

Definition at line 692 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().

list of log groups

Definition at line 725 of file log0log.h.

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().

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().

LOG_GROUP_OK or LOG_GROUP_CORRUPTED

Definition at line 685 of file log0log.h.

Referenced by log_group_init().


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