37 extern ibool recv_replay_file_ops;
44 recv_read_cp_info_for_backup(
54 ib_uint64_t* first_header_lsn);
62 recv_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
89 recv_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);
230 #ifdef UNIV_HOTBACKUP
235 recv_reset_log_files_for_backup(
267 ulint available_memory);
268 #ifndef UNIV_HOTBACKUP
290 #ifdef UNIV_HOTBACKUP
295 recv_apply_log_recs_for_backup(
void);
298 #ifdef UNIV_LOG_ARCHIVE
304 recv_recovery_from_archive_start(
306 ib_uint64_t min_flushed_lsn,
308 ib_uint64_t limit_lsn,
319 recv_recovery_from_archive_finish(
void);
376 hash_node_t addr_hash;
383 #ifndef UNIV_HOTBACKUP
432 #ifdef UNIV_LOG_ARCHIVE
466 extern ibool recv_no_log_write;
473 #ifdef UNIV_HOTBACKUP
475 extern 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"
ulint recv_max_parsed_page_no
UNIV_INTERN void recv_reset_logs(ib_uint64_t lsn, ibool new_logs_created)
UNIV_INTERN void recv_sys_mem_free(void)
byte * last_block_buf_start
ulint recv_n_pool_free_frames
UNIV_INTERN void recv_recovery_rollback_active(void)
ib_uint64_t recovered_lsn
UNIV_INTERN void recv_sys_close(void)
typedef UT_LIST_BASE_NODE_T(mutex_t) ut_list_base_node_t
UNIV_INTERN void recv_recover_page_func(ibool just_read_in, buf_block_t *block)
UNIV_INTERN void recv_sys_create(void)
#define UT_LIST_NODE_T(TYPE)
UNIV_INTERN void recv_apply_hashed_log_recs(ibool allow_ibuf)
ibool recv_needed_recovery
UNIV_INTERN void recv_sys_init(ulint available_memory)
ib_uint64_t parse_start_lsn
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)
ulint scanned_checkpoint_no
ibool recv_no_ibuf_operations
UNIV_INTERN void recv_recovery_from_checkpoint_finish(void)
UNIV_INLINE ibool recv_recovery_is_on(void)
UNIV_INTERN void recv_sys_var_init(void)
UNIV_INTERN ulint recv_recovery_from_checkpoint_start_func(ib_uint64_t min_flushed_lsn, ib_uint64_t max_flushed_lsn)