MySQL 9.1.0
Source Code Documentation
|
Recovery system data structure for the archiver. More...
#include <arch0recv.h>
Public Member Functions | |
Recovery (Arch_Group *group) | |
Constructor. More... | |
~Recovery () | |
Destructor. More... | |
dberr_t | replace_pages_from_dblwr (Arch_Dblwr_Ctx *dblwr_ctx) |
Check and replace blocks in archived files belonging to a group from the doublewrite buffer if required. More... | |
dberr_t | cleanup_if_required (Arch_Recv_Group_Info &info) |
Delete the last file if there are no blocks flushed to it. More... | |
dberr_t | parse (Arch_Recv_Group_Info &info) |
Start parsing the archive file for archive group information. More... | |
void | attach () |
Attach system client to the archiver during recovery if any group was active at the time of crash. More... | |
Recovery (Recovery const &)=delete | |
Disable copy construction. More... | |
Recovery & | operator= (Recovery const &)=delete |
Disable assignment. More... | |
Private Attributes | |
Arch_Group * | m_group {nullptr} |
The parent class group object. More... | |
Recovery system data structure for the archiver.
|
inline |
Constructor.
[in] | group | the parent class group object |
|
inline |
Destructor.
|
delete |
Disable copy construction.
|
inline |
Attach system client to the archiver during recovery if any group was active at the time of crash.
dberr_t Arch_Group::Recovery::cleanup_if_required | ( | Arch_Recv_Group_Info & | info | ) |
Delete the last file if there are no blocks flushed to it.
[in,out] | info | information related to group required for recovery |
dberr_t Arch_Group::Recovery::parse | ( | Arch_Recv_Group_Info & | info | ) |
Start parsing the archive file for archive group information.
[in,out] | info | information related to group required for recovery |
dberr_t Arch_Group::Recovery::replace_pages_from_dblwr | ( | Arch_Dblwr_Ctx * | dblwr_ctx | ) |
Check and replace blocks in archived files belonging to a group from the doublewrite buffer if required.
[in] | dblwr_ctx | Doublewrite context which has the doublewrite buffer blocks |
|
private |
The parent class group object.