33#ifndef log0files_finder_h
34#define log0files_finder_h
In-memory dictionary of meta data of existing log files.
Definition: log0files_dict.h:57
In-memory dictionary of log files (keeps their meta data).
Log_files_find_result
Result returned by the.
Definition: log0files_finder.h:45
@ FOUND_VALID_FILES
We have found valid log files.
@ FOUND_UNINITIALIZED_FILES
There were log files which have not been fully initialized.
@ FOUND_CORRUPTED_FILES
Found log files, but structure is corrupted.
@ FOUND_NO_FILES
There were no log files at all.
@ FOUND_DISABLED_FILES
Found log files, but marked as "crash unsafe" (disabled redo)
@ FOUND_VALID_FILES_BUT_MISSING_NEWEST
Found valid log files, but discovered that some of the newest are missing.
@ SYSTEM_ERROR
System error occurred when scanning files on disk.
Log_files_find_result log_files_find_and_analyze(bool read_only, Encryption_metadata &encryption_metadata, Log_files_dict &files, Log_format &format, std::string &creator_name, Log_flags &log_flags, Log_uuid &log_uuid)
Scans for existing log files on disk.
Definition: log0files_finder.cc:225
uint32_t Log_uuid
Number which tries to uniquely identify a created set of redo log files.
Definition: log0types.h:76
Log_format
Supported redo log formats.
Definition: log0types.h:138
uint32_t Log_flags
Log flags (stored in file header of log file).
Definition: log0types.h:69
constexpr value_type read_only
Definition: classic_protocol_constants.h:213