Skip to content

File log_applier.h

FileList > cubrid > src > transaction > log_applier.h

Go to the source code of this file

  • #include "log_common_impl.h"
  • #include "log_lsa.hpp"
  • #include "log_storage.hpp"

Public Types

Type Name
enum REPL_FILTER_TYPE

Public Functions

Type Name
int la_apply_log_file (const char * database_name, const char * log_path, const int max_mem_size)
void la_dump_la_act_log (FILE * out, int indent)
void la_dump_la_apply (FILE * out, int i, int indent)
void la_dump_la_apply_list (FILE * out, int indent)
void la_dump_la_arv_log (FILE * out, int indent)
void la_dump_la_info (FILE * out)
bool la_force_shutdown (void)
int la_get_applied_log_info (const char * database_name, const char * log_path, bool check_replica_info, bool verbose, LOG_LSA * applied_final_lsa)
int la_get_copied_log_info (const char * database_name, const char * log_path, INT64 page_num, bool verbose, LOG_LSA * copied_eof_lsa, LOG_LSA * copied_append_lsa)
void la_print_delay_info (LOG_LSA working_lsa, LOG_LSA target_lsa, float process_rate)
void la_print_log_arv_header (const char * database_name, LOG_ARV_HEADER * hdr, bool verbose)
void la_print_log_header (const char * database_name, LOG_HEADER * hdr, bool verbose)

Macros

Type Name
define LA_RETRY_ON_ERROR (error) /* multi line expression */

Public Types Documentation

enum REPL_FILTER_TYPE

enum REPL_FILTER_TYPE {
    REPL_FILTER_NONE,
    REPL_FILTER_INCLUDE_TBL,
    REPL_FILTER_EXCLUDE_TBL
};

Public Functions Documentation

function la_apply_log_file

int la_apply_log_file (
    const  char * database_name,
    const  char * log_path,
    const  int max_mem_size
) 

function la_dump_la_act_log

void la_dump_la_act_log (
    FILE * out,
    int indent
) 

function la_dump_la_apply

void la_dump_la_apply (
    FILE * out,
    int i,
    int indent
) 

function la_dump_la_apply_list

void la_dump_la_apply_list (
    FILE * out,
    int indent
) 

function la_dump_la_arv_log

void la_dump_la_arv_log (
    FILE * out,
    int indent
) 

function la_dump_la_info

void la_dump_la_info (
    FILE * out
) 

function la_force_shutdown

bool la_force_shutdown (
    void
) 

function la_get_applied_log_info

int la_get_applied_log_info (
    const  char * database_name,
    const  char * log_path,
    bool check_replica_info,
    bool verbose,
    LOG_LSA * applied_final_lsa
) 

function la_get_copied_log_info

int la_get_copied_log_info (
    const  char * database_name,
    const  char * log_path,
    INT64 page_num,
    bool verbose,
    LOG_LSA * copied_eof_lsa,
    LOG_LSA * copied_append_lsa
) 

function la_print_delay_info

void la_print_delay_info (
    LOG_LSA working_lsa,
    LOG_LSA target_lsa,
    float process_rate
) 

function la_print_log_arv_header

void la_print_log_arv_header (
    const  char * database_name,
    LOG_ARV_HEADER * hdr,
    bool verbose
) 

function la_print_log_header

void la_print_log_header (
    const  char * database_name,
    LOG_HEADER * hdr,
    bool verbose
) 

Macro Definition Documentation

define LA_RETRY_ON_ERROR

#define LA_RETRY_ON_ERROR (
    error
) `/* multi line expression */`


The documentation for this class was generated from the following file cubrid/src/transaction/log_applier.h