MySQL 8.0.40
Source Code Documentation
|
Recovery system data structure for the archiver. More...
#include <arch0recv.h>
Public Member Functions | |
Recovery (Arch_File_Ctx &file_ctx) | |
Constructor. More... | |
~Recovery () | |
Destructor. More... | |
void | reset_print (uint file_start_index) |
Print recovery related data. More... | |
dberr_t | parse_reset_points (uint file_index, bool last_file, Arch_Recv_Group_Info &info) |
Fetch the reset points pertaining to a file. More... | |
dberr_t | parse_stop_points (bool last_file, Arch_Recv_Group_Info &info) |
Fetch the stop lsn pertaining to a file. More... | |
Recovery (Recovery const &)=delete | |
Disable copy construction. More... | |
Recovery & | operator= (Recovery const &)=delete |
Disable assignment. More... | |
Private Attributes | |
Arch_File_Ctx & | m_file_ctx |
File context. More... | |
Recovery system data structure for the archiver.
|
inline |
Constructor.
[in] | file_ctx | file context to be used by this recovery class |
|
inline |
Destructor.
|
delete |
Disable copy construction.
dberr_t Arch_File_Ctx::Recovery::parse_reset_points | ( | uint | file_index, |
bool | last_file, | ||
Arch_Recv_Group_Info & | info | ||
) |
Fetch the reset points pertaining to a file.
[in] | file_index | file index of the file from which reset points needs to be fetched |
[in] | last_file | true if the file for which the stop point is being fetched for is the last file |
[in,out] | info | information related to group required for recovery |
dberr_t Arch_File_Ctx::Recovery::parse_stop_points | ( | bool | last_file, |
Arch_Recv_Group_Info & | info | ||
) |
Fetch the stop lsn pertaining to a file.
[in] | last_file | true if the file for which the stop point is being fetched for is the last file |
[in,out] | info | information related to group required for recovery |
void Arch_File_Ctx::Recovery::reset_print | ( | uint | file_start_index | ) |
Print recovery related data.
[in] | file_start_index | file index from where to begin |
|
private |
File context.