MySQL 8.0.40
Source Code Documentation
Arch_File_Ctx::Recovery Class Reference

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...
 
Recoveryoperator= (Recovery const &)=delete
 Disable assignment. More...
 

Private Attributes

Arch_File_Ctxm_file_ctx
 File context. More...
 

Detailed Description

Recovery system data structure for the archiver.

Constructor & Destructor Documentation

◆ Recovery() [1/2]

Arch_File_Ctx::Recovery::Recovery ( Arch_File_Ctx file_ctx)
inline

Constructor.

Parameters
[in]file_ctxfile context to be used by this recovery class

◆ ~Recovery()

Arch_File_Ctx::Recovery::~Recovery ( )
inline

Destructor.

◆ Recovery() [2/2]

Arch_File_Ctx::Recovery::Recovery ( Recovery const &  )
delete

Disable copy construction.

Member Function Documentation

◆ operator=()

Recovery & Arch_File_Ctx::Recovery::operator= ( Recovery const &  )
delete

Disable assignment.

◆ parse_reset_points()

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.

Parameters
[in]file_indexfile index of the file from which reset points needs to be fetched
[in]last_filetrue if the file for which the stop point is being fetched for is the last file
[in,out]infoinformation related to group required for recovery
Returns
error code.

◆ parse_stop_points()

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.

Parameters
[in]last_filetrue if the file for which the stop point is being fetched for is the last file
[in,out]infoinformation related to group required for recovery
Returns
error code.

◆ reset_print()

void Arch_File_Ctx::Recovery::reset_print ( uint  file_start_index)

Print recovery related data.

Parameters
[in]file_start_indexfile index from where to begin

Member Data Documentation

◆ m_file_ctx

Arch_File_Ctx& Arch_File_Ctx::Recovery::m_file_ctx
private

File context.


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