36 extern ibool recv_replay_file_ops;
43 recv_read_checkpoint_info_for_backup(
50 lsn_t* first_header_lsn)
53 __attribute__((nonnull));
59 recv_scan_log_seg_for_backup(
65 ulint* scanned_checkpoint_no,
69 ulint* n_bytes_scanned);
80 #ifdef UNIV_LOG_ARCHIVE
86 recv_recovery_from_backup_is_on(
void);
97 #ifndef UNIV_HOTBACKUP
103 #ifndef UNIV_HOTBACKUP
112 # define recv_recover_page(jri, block) recv_recover_page_func(jri, block)
122 # define recv_recover_page(jri, block) recv_recover_page_func(block)
134 #ifdef UNIV_LOG_ARCHIVE
140 lsn_t min_flushed_lsn,
142 lsn_t max_flushed_lsn);
144 #ifdef UNIV_LOG_ARCHIVE
155 # define recv_recovery_from_checkpoint_start(type,lim,min,max) \
156 recv_recovery_from_checkpoint_start_func(type,lim,min,max)
168 # define recv_recovery_from_checkpoint_start(type,lim,min,max) \
169 recv_recovery_from_checkpoint_start_func(min,max)
194 ulint available_memory,
204 lsn_t* contiguous_lsn,
207 lsn_t* group_scanned_lsn);
215 #ifdef UNIV_LOG_ARCHIVE
217 ibool new_logs_created,
227 #ifdef UNIV_HOTBACKUP
232 recv_reset_log_files_for_backup(
264 ulint available_memory);
265 #ifndef UNIV_HOTBACKUP
287 #ifdef UNIV_HOTBACKUP
292 recv_apply_log_recs_for_backup(
void);
295 #ifdef UNIV_LOG_ARCHIVE
301 recv_recovery_from_archive_start(
303 lsn_t min_flushed_lsn,
316 recv_recovery_from_archive_finish(
void);
365 UT_LIST_BASE_NODE_T(
recv_t)
367 hash_node_t addr_hash;
372 #ifndef UNIV_HOTBACKUP
380 ibool apply_log_recs;
385 ibool apply_batch_on;
389 ulint last_log_buf_size;
395 byte* last_block_buf_start;
400 lsn_t parse_start_lsn;
408 ulint scanned_checkpoint_no;
411 ulint recovered_offset;
419 ibool found_corrupt_log;
424 #ifdef UNIV_LOG_ARCHIVE
458 extern ibool recv_no_log_write;
465 #ifdef UNIV_HOTBACKUP
474 #define RECV_PARSING_BUF_SIZE (2 * 1024 * 1024)
478 #define RECV_SCAN_SIZE (4 * UNIV_PAGE_SIZE)
487 #include "log0recv.ic"