MySQL 8.3.0
Source Code Documentation
Arch_Recv_Group_Info Class Reference

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_Infooperator= (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_Groupm_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...
 
bytem_last_reset_block {nullptr}
 Reset block of the last reset file in a group. More...
 
bytem_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...
 

Detailed Description

Info related to each group parsed at different stages of page archive recovery.

Constructor & Destructor Documentation

◆ Arch_Recv_Group_Info() [1/2]

Arch_Recv_Group_Info::Arch_Recv_Group_Info ( )
inline

◆ ~Arch_Recv_Group_Info()

Arch_Recv_Group_Info::~Arch_Recv_Group_Info ( )
inline

◆ Arch_Recv_Group_Info() [2/2]

Arch_Recv_Group_Info::Arch_Recv_Group_Info ( const Arch_Recv_Group_Info )
delete

Disable copy construction.

Member Function Documentation

◆ operator=()

Arch_Recv_Group_Info & Arch_Recv_Group_Info::operator= ( const Arch_Recv_Group_Info )
delete

Disable assignment.

Member Data Documentation

◆ m_active

bool Arch_Recv_Group_Info::m_active {false}

Group is active or not.

◆ m_durable

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.

◆ m_file_start_index

uint Arch_Recv_Group_Info::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.

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.

◆ m_group

Arch_Group* Arch_Recv_Group_Info::m_group {nullptr}

Group data.

◆ m_last_data_block

byte* Arch_Recv_Group_Info::m_last_data_block {nullptr}

Data block of the last reset file in a group.

◆ m_last_reset_block

byte* Arch_Recv_Group_Info::m_last_reset_block {nullptr}

Reset block of the last reset file in a group.

◆ m_last_reset_file

Arch_Reset_File Arch_Recv_Group_Info::m_last_reset_file

Reset file structure of the last reset file.

◆ m_last_stop_lsn

lsn_t Arch_Recv_Group_Info::m_last_stop_lsn {LSN_MAX}

Last stop LSN of the group if active, else end LSN.

◆ m_new_empty_file

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.

◆ m_num_files

uint Arch_Recv_Group_Info::m_num_files {0}

Number of archived files belonging to the group.

◆ m_reset_pos

Arch_Page_Pos Arch_Recv_Group_Info::m_reset_pos

Last reset position of the group.

◆ m_start_lsn

lsn_t Arch_Recv_Group_Info::m_start_lsn {LSN_MAX}

Start LSN of the group.

◆ m_write_pos

Arch_Page_Pos Arch_Recv_Group_Info::m_write_pos

Last write position of the group.


The documentation for this class was generated from the following file: