MySQL 8.0.40
Source Code Documentation
|
Info related to each group parsed at different stages of page archive recovery. More...
#include <arch0recv.h>
Public Member Functions | |
Arch_Recv_Group_Info () | |
~Arch_Recv_Group_Info () | |
Arch_Recv_Group_Info & | operator= (const Arch_Recv_Group_Info &)=delete |
Disable assignment. More... | |
Arch_Recv_Group_Info (const Arch_Recv_Group_Info &)=delete | |
Disable copy construction. More... | |
Public Attributes | |
Arch_Group * | m_group {nullptr} |
Group data. More... | |
uint | m_num_files {0} |
Number of archived files belonging to the group. More... | |
bool | m_active {false} |
Group is active or not. More... | |
bool | m_durable {false} |
True if group is from durable archiving, false if left over from a crash during clone operation. More... | |
bool | m_new_empty_file {false} |
True if a new empty file was present in the group directory. More... | |
uint | m_file_start_index {std::numeric_limits<uint>::max()} |
The file index which is part of the file name may not necessarily be 0 always. More... | |
Arch_Page_Pos | m_reset_pos |
Last reset position of the group. More... | |
Arch_Page_Pos | m_write_pos |
Last write position of the group. More... | |
byte * | m_last_reset_block {nullptr} |
Reset block of the last reset file in a group. More... | |
byte * | m_last_data_block {nullptr} |
Data block of the last reset file in a group. More... | |
Arch_Reset_File | m_last_reset_file |
Reset file structure of the last reset file. More... | |
lsn_t | m_start_lsn {LSN_MAX} |
Start LSN of the group. More... | |
lsn_t | m_last_stop_lsn {LSN_MAX} |
Last stop LSN of the group if active, else end LSN. More... | |
Info related to each group parsed at different stages of page archive recovery.
|
inline |
|
inline |
|
delete |
Disable copy construction.
|
delete |
Disable assignment.
bool Arch_Recv_Group_Info::m_active {false} |
Group is active or not.
bool Arch_Recv_Group_Info::m_durable {false} |
True if group is from durable archiving, false if left over from a crash during clone operation.
The file index which is part of the file name may not necessarily be 0 always.
It's possible that purge might have purged files in the group leading to the file index of the first file in the group being greater than 0. So we need this info to know the index of the first file in the group.
Arch_Group* Arch_Recv_Group_Info::m_group {nullptr} |
Group data.
Data block of the last reset file in a group.
Reset block of the last reset file in a group.
Arch_Reset_File Arch_Recv_Group_Info::m_last_reset_file |
Reset file structure of the last reset file.
Last stop LSN of the group if active, else end LSN.
bool Arch_Recv_Group_Info::m_new_empty_file {false} |
True if a new empty file was present in the group directory.
This can happen in case of a crash while writing to a new file.
uint Arch_Recv_Group_Info::m_num_files {0} |
Number of archived files belonging to the group.
Arch_Page_Pos Arch_Recv_Group_Info::m_reset_pos |
Last reset position of the group.
Arch_Page_Pos Arch_Recv_Group_Info::m_write_pos |
Last write position of the group.