35#ifndef log0pre_8_0_30_h
36#define log0pre_8_0_30_h
106 lsn_t requested_lsn);
size_t Log_file_id
Log file id (0 for ib_redo0)
Definition: log0types.h:65
Log_format
Supported redo log formats.
Definition: log0types.h:137
uint64_t lsn_t
Type used for all log sequence number storage and arithmetic.
Definition: log0types.h:62
static size_t file_size
Definition: mysql_config_editor.cc:71
Definition: buf0block_hint.cc:29
ulong n_files
Number of files to use for the double write buffer.
Definition: buf0dblwr.cc:78
Definition: log0pre_8_0_30.h:41
os_offset_t compute_real_offset_for_lsn(size_t n_files, os_offset_t file_size, lsn_t some_file_lsn, os_offset_t some_file_offset, lsn_t requested_lsn)
Provides a file offset for the given lsn.
Definition: log0pre_8_0_30.cc:56
constexpr uint32_t FIELD_CHECKPOINT_LOG_BUF_SIZE
Size of the log buffer, when the checkpoint write was started.
Definition: log0pre_8_0_30.h:75
std::string file_name(Log_file_id file_id)
Provides name of the log file with the given file id, e.g.
Definition: log0pre_8_0_30.cc:93
constexpr os_offset_t FIELD_CHECKPOINT_LSN
Checkpoint lsn.
Definition: log0pre_8_0_30.h:62
bool checkpoint_header_deserialize(const byte *buf, Checkpoint_header &header)
Deserializes the log checkpoint header stored in the given buffer.
Definition: log0pre_8_0_30.cc:81
constexpr os_offset_t FIELD_CHECKPOINT_OFFSET
Offset within the log files, which corresponds to checkpoint lsn.
Definition: log0pre_8_0_30.h:66
constexpr os_offset_t FIELD_CHECKPOINT_NO
Checkpoint number.
Definition: log0pre_8_0_30.h:55
constexpr Log_file_id FILE_MAX_ID
Maximum redo log file id in the old format (before 8.0.30).
Definition: log0pre_8_0_30.h:48
bool files_validate_format(const Log_files_context &files_ctx, const ut::vector< Log_file_id_and_header > &files, Log_format &format)
Validates that ib_logfile0 exists and has format older than VERSION_8_0_30.
Definition: log0pre_8_0_30.cc:100
constexpr const char *const FILE_BASE_NAME
Prefix of log file name in the old redo format (before 8.0.30).
Definition: log0pre_8_0_30.h:45
std::vector< T, ut::allocator< T > > vector
Specialization of vector which uses allocator.
Definition: ut0new.h:2873
uint64_t os_offset_t
File offset in bytes.
Definition: os0file.h:83
Configures path to the root directory, where redo subdirectory might be located (or redo log files if...
Definition: log0types.h:203