37extern ibool recv_replay_file_ops;
44recv_read_cp_info_for_backup(
54 ib_uint64_t* first_header_lsn);
62recv_scan_log_seg_for_backup(
66 ib_uint64_t* scanned_lsn,
68 ulint* scanned_checkpoint_no,
72 ulint* n_bytes_scanned);
83#ifdef UNIV_LOG_ARCHIVE
89recv_recovery_from_backup_is_on(
void);
100#ifndef UNIV_HOTBACKUP
106#ifndef UNIV_HOTBACKUP
115# define recv_recover_page(jri, block) recv_recover_page_func(jri, block)
125# define recv_recover_page(jri, block) recv_recover_page_func(block)
137#ifdef UNIV_LOG_ARCHIVE
140 ib_uint64_t limit_lsn,
143 ib_uint64_t min_flushed_lsn,
145 ib_uint64_t max_flushed_lsn);
147#ifdef UNIV_LOG_ARCHIVE
158# define recv_recovery_from_checkpoint_start(type,lim,min,max) \
159 recv_recovery_from_checkpoint_start_func(type,lim,min,max)
171# define recv_recovery_from_checkpoint_start(type,lim,min,max) \
172 recv_recovery_from_checkpoint_start_func(min,max)
197 ulint available_memory,
206 ib_uint64_t start_lsn,
207 ib_uint64_t* contiguous_lsn,
210 ib_uint64_t* group_scanned_lsn);
223#ifdef UNIV_LOG_ARCHIVE
226 ibool new_logs_created);
235recv_reset_log_files_for_backup(
267 ulint available_memory);
268#ifndef UNIV_HOTBACKUP
295recv_apply_log_recs_for_backup(
void);
298#ifdef UNIV_LOG_ARCHIVE
304recv_recovery_from_archive_start(
306 ib_uint64_t min_flushed_lsn,
308 ib_uint64_t limit_lsn,
319recv_recovery_from_archive_finish(
void);
383#ifndef UNIV_HOTBACKUP
432#ifdef UNIV_LOG_ARCHIVE
466extern ibool recv_no_log_write;
475extern ibool recv_is_making_a_backup;
482#define RECV_PARSING_BUF_SIZE (2 * 1024 * 1024)
486#define RECV_SCAN_SIZE (4 * UNIV_PAGE_SIZE)
495#include "log0recv.ic"
struct buf_block_struct buf_block_t
struct log_group_struct log_group_t
UNIV_INTERN void recv_recovery_rollback_active(void)
UNIV_INTERN void recv_reset_logs(ib_uint64_t lsn, ibool new_logs_created)
struct recv_addr_struct recv_addr_t
ibool recv_needed_recovery
UNIV_INTERN ulint recv_recovery_from_checkpoint_start_func(ib_uint64_t min_flushed_lsn, ib_uint64_t max_flushed_lsn)
struct recv_struct recv_t
UNIV_INTERN void recv_sys_mem_free(void)
struct recv_data_struct recv_data_t
struct recv_sys_struct recv_sys_t
UNIV_INTERN void recv_sys_close(void)
UNIV_INTERN void recv_apply_hashed_log_recs(ibool allow_ibuf)
UNIV_INTERN void recv_recover_page_func(ibool just_read_in, buf_block_t *block)
ulint recv_max_parsed_page_no
UNIV_INTERN void recv_sys_var_init(void)
UNIV_INTERN void recv_sys_create(void)
UNIV_INTERN ibool recv_scan_log_recs(ulint available_memory, ibool store_to_hash, const byte *buf, ulint len, ib_uint64_t start_lsn, ib_uint64_t *contiguous_lsn, ib_uint64_t *group_scanned_lsn)
ibool recv_no_ibuf_operations
ulint recv_n_pool_free_frames
UNIV_INTERN void recv_recovery_from_checkpoint_finish(void)
UNIV_INTERN void recv_sys_init(ulint available_memory)
UNIV_INLINE ibool recv_recovery_is_on(void)
enum recv_addr_state state
ib_uint64_t parse_start_lsn
ib_uint64_t recovered_lsn
ulint scanned_checkpoint_no
byte * last_block_buf_start
#define UT_LIST_NODE_T(TYPE)
#define UT_LIST_BASE_NODE_T(TYPE)