24#ifndef BINLOG_RECOVERY_H_INCLUDED
25#define BINLOG_RECOVERY_H_INCLUDED
It owns an allocator, a byte stream, an event_data stream and an event object stream.
Definition: binlog_reader.h:295
Recovers from last crashed binlog at server start.
Definition: recovery.h:65
~Binlog_recovery() override=default
bool m_no_engine_recovery
Whether or not the recovery in the storage engines failed.
Definition: recovery.h:154
Binlog_file_reader & m_reader
File reader for the last available binary log file.
Definition: recovery.h:152
Binlog_recovery(Binlog_file_reader &binlog_file_reader)
Class constructor.
Definition: recovery.cc:32
bool has_failures() const
Retrieves whether or not the recovery process ended successfully.
Definition: recovery.cc:37
Binlog_recovery & recover()
Uses the provided binary log file reader to inspect the binary log and extract transaction informatio...
Definition: recovery.cc:53
std::string const & get_failure_message() const
Retrieves the textual representation of the encontered failure, if any.
Definition: recovery.cc:49
bool is_binlog_malformed() const
Retrieves whether or not the binary log was correctly processed in full.
Definition: recovery.cc:41
PSI_memory_key & get_memory_key() const override
Function used to obtain memory key for derived classes.
Definition: recovery.h:146
bool has_engine_recovery_failed() const
Retrieves whether or not the storage engines XA recovery process completed successfully.
Definition: recovery.cc:45
Class used to recover binary / relay log file.
Definition: log_sanitizer.h:62
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
Binary log event definitions.
PSI_memory_key key_memory_recovery
Definition: psi_memory_key.cc:78