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

#include <log0recv.h>

Collaboration diagram for recv_sys_struct:
[legend]

Public Attributes

mutex_t mutex
ibool apply_log_recs
ibool apply_batch_on
ib_uint64_t lsn
ulint last_log_buf_size
byte * last_block
byte * last_block_buf_start
byte * buf
ulint len
ib_uint64_t parse_start_lsn
ib_uint64_t scanned_lsn
ulint scanned_checkpoint_no
ulint recovered_offset
ib_uint64_t recovered_lsn
ib_uint64_t limit_lsn
ibool found_corrupt_log
mem_heap_t * heap
hash_table_t * addr_hash
ulint n_addrs

Detailed Description

Recovery system data structure

Definition at line 382 of file log0recv.h.

Member Data Documentation

◆ addr_hash

hash_table_t* recv_sys_struct::addr_hash

hash table of file addresses of pages

Definition at line 439 of file log0recv.h.

◆ apply_batch_on

ibool recv_sys_struct::apply_batch_on

this is TRUE when a log rec application batch is running

Definition at line 393 of file log0recv.h.

◆ apply_log_recs

ibool recv_sys_struct::apply_log_recs

this is TRUE when log rec application to pages is allowed; this flag tells the i/o-handler if it should do log record application

Definition at line 388 of file log0recv.h.

◆ buf

byte* recv_sys_struct::buf

buffer for parsing log records

Definition at line 406 of file log0recv.h.

◆ found_corrupt_log

ibool recv_sys_struct::found_corrupt_log

this is set to TRUE if we during log scan find a corrupt log block, or a corrupt log record, or there is a log parsing buffer overflow

Definition at line 427 of file log0recv.h.

◆ heap

mem_heap_t* recv_sys_struct::heap

memory heap of log records and file addresses

Definition at line 437 of file log0recv.h.

◆ last_block

byte* recv_sys_struct::last_block

possible incomplete last recovered log block

Definition at line 400 of file log0recv.h.

◆ last_block_buf_start

byte* recv_sys_struct::last_block_buf_start

the nonaligned start address of the preceding buffer

Definition at line 403 of file log0recv.h.

◆ last_log_buf_size

ulint recv_sys_struct::last_log_buf_size

size of the log buffer when the database last time wrote to the log

Definition at line 397 of file log0recv.h.

◆ len

ulint recv_sys_struct::len

amount of data in buf

Definition at line 407 of file log0recv.h.

◆ limit_lsn

ib_uint64_t recv_sys_struct::limit_lsn

recovery should be made at most up to this lsn

Definition at line 425 of file log0recv.h.

◆ lsn

ib_uint64_t recv_sys_struct::lsn

log sequence number

Definition at line 396 of file log0recv.h.

◆ mutex

mutex_t recv_sys_struct::mutex

mutex protecting the fields apply_log_recs, n_addrs, and the state field in each recv_addr struct

Definition at line 384 of file log0recv.h.

◆ n_addrs

ulint recv_sys_struct::n_addrs

number of not processed hashed file addresses in the hash table

Definition at line 440 of file log0recv.h.

◆ parse_start_lsn

ib_uint64_t recv_sys_struct::parse_start_lsn

this is the lsn from which we were able to start parsing log records and adding them to the hash table; zero if a suitable start point not found yet

Definition at line 408 of file log0recv.h.

◆ recovered_lsn

ib_uint64_t recv_sys_struct::recovered_lsn

the log records have been parsed up to this lsn

Definition at line 422 of file log0recv.h.

◆ recovered_offset

ulint recv_sys_struct::recovered_offset

start offset of non-parsed log records in buf

Definition at line 419 of file log0recv.h.

◆ scanned_checkpoint_no

ulint recv_sys_struct::scanned_checkpoint_no

the log data has been scanned up to this checkpoint number (lowest 4 bytes)

Definition at line 416 of file log0recv.h.

◆ scanned_lsn

ib_uint64_t recv_sys_struct::scanned_lsn

the log data has been scanned up to this lsn

Definition at line 413 of file log0recv.h.


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