33#ifndef ARCH_LOG_INCLUDE 
   34#define ARCH_LOG_INCLUDE 
   45                         uint64_t read_offset, 
void *ctx);
 
   70  int start(
byte *header, uint len);
 
   78  int stop(
byte *trailer, uint32_t &len, uint64_t &offset);
 
Common interface for redo log and dirty page archiver system.
 
Arch_Client_State
Archiver client state.
Definition: arch0arch.h:114
 
@ ARCH_CLIENT_STATE_INIT
Client is initialized.
Definition: arch0arch.h:116
 
int(char *file_name, uint64_t file_size, uint64_t read_offset, void *ctx) Log_Arch_Cbk
File Node Iterator callback.
Definition: arch0log.h:45
 
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
 
Contiguous archived data for redo log or page tracking.
Definition: arch0arch.h:843
 
Redo Log archiver client context.
Definition: arch0log.h:48
 
int stop(byte *trailer, uint32_t &len, uint64_t &offset)
Stop redo log archiving.
Definition: arch0log.cc:79
 
Arch_Group * m_group
Archive group the client is attached to.
Definition: arch0log.h:94
 
int start(byte *header, uint len)
Start redo log archiving.
Definition: arch0log.cc:56
 
Arch_Client_State m_state
Archiver client state.
Definition: arch0log.h:91
 
os_offset_t get_archived_file_size() const
Get redo file size for archived log file.
Definition: arch0log.cc:46
 
Log_Arch_Client_Ctx()
Constructor: Initialize elementsf.
Definition: arch0log.h:51
 
void get_header_size(uint &header_sz, uint &trailer_sz) const
Get redo header and trailer size.
Definition: arch0log.cc:50
 
int get_files(Log_Arch_Cbk *cbk_func, void *ctx)
Get archived data file details.
Definition: arch0log.cc:112
 
lsn_t m_end_lsn
Stop LSN for archived data.
Definition: arch0log.h:100
 
lsn_t m_begin_lsn
Start LSN for archived data.
Definition: arch0log.h:97
 
void release()
Release archived data so that system can purge it.
Definition: arch0log.cc:179
 
constexpr lsn_t LSN_MAX
Maximum possible lsn value is slightly higher than the maximum sn value, because lsn sequence enumera...
Definition: log0constants.h:159
 
uint64_t lsn_t
Type used for all log sequence number storage and arithmetic.
Definition: log0types.h:63
 
static size_t file_size
Definition: mysql_config_editor.cc:72
 
std::string file_name(Log_file_id file_id)
Provides name of the log file with the given file id, e.g.
Definition: log0pre_8_0_30.cc:94
 
uint64_t os_offset_t
File offset in bytes.
Definition: os0file.h:87