#include <log0recv.h>
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 |
Recovery system data structure
Definition at line 382 of file log0recv.h.
hash table of file addresses of pages
Definition at line 439 of file log0recv.h.
Referenced by recv_apply_hashed_log_recs(), recv_sys_close(), recv_sys_create(), recv_sys_init(), and recv_sys_mem_free().
this is TRUE when a log rec application batch is running
Definition at line 394 of file log0recv.h.
Referenced by recv_apply_hashed_log_recs(), and recv_sys_init().
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 389 of file log0recv.h.
Referenced by recv_apply_hashed_log_recs(), recv_recover_page_func(), recv_recovery_from_checkpoint_start_func(), and recv_sys_init().
byte* recv_sys_struct::buf |
buffer for parsing log records
Definition at line 406 of file log0recv.h.
Referenced by recv_sys_close(), recv_sys_init(), and recv_sys_mem_free().
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 428 of file log0recv.h.
Referenced by mlog_parse_nbytes(), mlog_parse_string(), page_cur_parse_insert_rec(), page_zip_parse_write_blob_ptr(), page_zip_parse_write_header(), page_zip_parse_write_node_ptr(), recv_recovery_from_checkpoint_finish(), recv_scan_log_recs(), and recv_sys_init().
memory heap of log records and file addresses
Definition at line 437 of file log0recv.h.
Referenced by recv_scan_log_recs(), recv_sys_close(), recv_sys_create(), recv_sys_init(), and recv_sys_mem_free().
possible incomplete last recovered log block
Definition at line 401 of file log0recv.h.
Referenced by recv_recovery_from_checkpoint_start_func(), and recv_sys_init().
the nonaligned start address of the preceding buffer
Definition at line 404 of file log0recv.h.
Referenced by recv_sys_close(), recv_sys_init(), and recv_sys_mem_free().
size of the log buffer when the database last time wrote to the log
Definition at line 398 of file log0recv.h.
ulint recv_sys_struct::len |
amount of data in buf
Definition at line 407 of file log0recv.h.
Referenced by recv_scan_log_recs(), and recv_sys_init().
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.
Referenced by log_init(), and recv_recovery_from_checkpoint_start_func().
ib_uint64_t recv_sys_struct::lsn |
log sequence number
Definition at line 396 of file log0recv.h.
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.
Referenced by recv_apply_hashed_log_recs(), recv_recover_page_func(), recv_recovery_from_checkpoint_start_func(), recv_sys_close(), recv_sys_create(), and recv_sys_init().
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.
Referenced by recv_apply_hashed_log_recs(), recv_recover_page_func(), and recv_sys_init().
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 409 of file log0recv.h.
Referenced by log_init(), recv_recovery_from_checkpoint_start_func(), and recv_scan_log_recs().
ib_uint64_t recv_sys_struct::recovered_lsn |
the log records have been parsed up to this lsn
Definition at line 423 of file log0recv.h.
Referenced by log_init(), recv_recovery_from_checkpoint_start_func(), and recv_scan_log_recs().
start offset of non-parsed log records in buf
Definition at line 420 of file log0recv.h.
Referenced by recv_scan_log_recs(), and recv_sys_init().
the log data has been scanned up to this checkpoint number (lowest 4 bytes)
Definition at line 417 of file log0recv.h.
Referenced by log_init(), recv_recovery_from_checkpoint_start_func(), and recv_scan_log_recs().
ib_uint64_t recv_sys_struct::scanned_lsn |
the log data has been scanned up to this lsn
Definition at line 414 of file log0recv.h.
Referenced by log_init(), recv_recovery_from_checkpoint_start_func(), and recv_scan_log_recs().