CUBRID Engine
latest
|
#include "client_credentials.hpp"
#include "log_lsa.hpp"
#include "recovery.h"
#include "storage_common.h"
#include "system.h"
Go to the source code of this file.
Classes | |
struct | log_rec_header |
struct | log_data |
struct | log_rec_undoredo |
struct | log_rec_undo |
struct | log_rec_redo |
struct | log_vacuum_info |
struct | log_rec_mvcc_undoredo |
struct | log_rec_mvcc_undo |
struct | log_rec_mvcc_redo |
struct | log_rec_replication |
struct | log_rec_donetime |
struct | log_rec_ha_server_state |
struct | log_rec_dbout_redo |
struct | log_rec_compensate |
struct | log_rec_start_postpone |
struct | log_rec_sysop_end |
struct | log_rec_sysop_start_postpone |
struct | log_rec_run_postpone |
struct | log_rec_chkpt |
struct | log_info_chkpt_trans |
struct | log_info_chkpt_sysop |
struct | log_rec_savept |
struct | log_rec_2pc_prepcommit |
struct | log_rec_2pc_start |
struct | log_rec_2pc_particp_ack |
Macros | |
#define | LOG_SYSOP_END_TYPE_CHECK(type) |
#define | LOG_GET_LOG_RECORD_HEADER(log_page_p, lsa) ((LOG_RECORD_HEADER *) ((log_page_p)->area + (lsa)->offset)) |
#define | LOG_IS_UNDO_RECORD_TYPE(type) (((type) == LOG_UNDO_DATA) || ((type) == LOG_MVCC_UNDO_DATA)) |
#define | LOG_IS_REDO_RECORD_TYPE(type) (((type) == LOG_REDO_DATA) || ((type) == LOG_MVCC_REDO_DATA)) |
#define | LOG_IS_UNDOREDO_RECORD_TYPE(type) |
#define | LOG_IS_DIFF_UNDOREDO_TYPE(type) ((type) == LOG_DIFF_UNDOREDO_DATA || (type) == LOG_MVCC_DIFF_UNDOREDO_DATA) |
#define | LOG_IS_MVCC_OP_RECORD_TYPE(type) |
#define LOG_GET_LOG_RECORD_HEADER | ( | log_page_p, | |
lsa | |||
) | ((LOG_RECORD_HEADER *) ((log_page_p)->area + (lsa)->offset)) |
Definition at line 406 of file log_record.hpp.
Referenced by la_apply_log_file(), la_get_next_repl_item_from_log(), la_get_next_update_log(), la_get_overflow_recdes(), la_get_recdes(), la_get_relocation_recdes(), la_log_page_check(), log_2pc_recovery_analysis_info(), log_do_postpone(), log_find_end_log(), log_get_next_nested_top(), log_get_savepoint_lsa(), log_get_undo_record(), log_recovery_abort_atomic_sysop(), log_recovery_analysis(), log_recovery_find_first_postpone(), log_recovery_redo(), log_recovery_undo(), log_rollback(), log_startof_nxrec(), vacuum_process_log_record(), vacuum_recover_lost_block_data(), and xlog_dump().
#define LOG_IS_DIFF_UNDOREDO_TYPE | ( | type | ) | ((type) == LOG_DIFF_UNDOREDO_DATA || (type) == LOG_MVCC_DIFF_UNDOREDO_DATA) |
Definition at line 424 of file log_record.hpp.
Referenced by la_get_log_data(), and la_get_next_update_log().
#define LOG_IS_MVCC_OP_RECORD_TYPE | ( | type | ) |
Definition at line 428 of file log_record.hpp.
Referenced by la_get_log_data(), la_get_next_update_log(), and prior_lsa_gen_undoredo_record_from_crumbs().
#define LOG_IS_REDO_RECORD_TYPE | ( | type | ) | (((type) == LOG_REDO_DATA) || ((type) == LOG_MVCC_REDO_DATA)) |
Definition at line 416 of file log_record.hpp.
Referenced by la_get_overflow_recdes(), and prior_lsa_gen_undoredo_record_from_crumbs().
#define LOG_IS_UNDO_RECORD_TYPE | ( | type | ) | (((type) == LOG_UNDO_DATA) || ((type) == LOG_MVCC_UNDO_DATA)) |
Definition at line 412 of file log_record.hpp.
Referenced by prior_lsa_gen_undoredo_record_from_crumbs().
#define LOG_IS_UNDOREDO_RECORD_TYPE | ( | type | ) |
Definition at line 420 of file log_record.hpp.
Referenced by la_get_next_update_log(), and prior_lsa_gen_undoredo_record_from_crumbs().
#define LOG_SYSOP_END_TYPE_CHECK | ( | type | ) |
Definition at line 283 of file log_record.hpp.
Referenced by log_rv_analysis_sysop_end().
Definition at line 152 of file log_record.hpp.
typedef struct log_info_chkpt_sysop LOG_INFO_CHKPT_SYSOP |
Definition at line 359 of file log_record.hpp.
typedef struct log_info_chkpt_trans LOG_INFO_CHKPT_TRANS |
Definition at line 341 of file log_record.hpp.
typedef struct log_rec_2pc_particp_ack LOG_REC_2PC_PARTICP_ACK |
Definition at line 400 of file log_record.hpp.
typedef struct log_rec_2pc_prepcommit LOG_REC_2PC_PREPCOMMIT |
Definition at line 375 of file log_record.hpp.
typedef struct log_rec_2pc_start LOG_REC_2PC_START |
Definition at line 387 of file log_record.hpp.
typedef struct log_rec_chkpt LOG_REC_CHKPT |
Definition at line 332 of file log_record.hpp.
typedef struct log_rec_compensate LOG_REC_COMPENSATE |
Definition at line 257 of file log_record.hpp.
typedef struct log_rec_dbout_redo LOG_REC_DBOUT_REDO |
Definition at line 249 of file log_record.hpp.
typedef struct log_rec_donetime LOG_REC_DONETIME |
Definition at line 232 of file log_record.hpp.
typedef struct log_rec_ha_server_state LOG_REC_HA_SERVER_STATE |
Definition at line 239 of file log_record.hpp.
typedef struct log_rec_mvcc_redo LOG_REC_MVCC_REDO |
Definition at line 215 of file log_record.hpp.
typedef struct log_rec_mvcc_undo LOG_REC_MVCC_UNDO |
Definition at line 206 of file log_record.hpp.
typedef struct log_rec_mvcc_undoredo LOG_REC_MVCC_UNDOREDO |
Definition at line 197 of file log_record.hpp.
typedef struct log_rec_redo LOG_REC_REDO |
Definition at line 179 of file log_record.hpp.
typedef struct log_rec_replication LOG_REC_REPLICATION |
Definition at line 223 of file log_record.hpp.
typedef struct log_rec_run_postpone LOG_REC_RUN_POSTPONE |
Definition at line 323 of file log_record.hpp.
typedef struct log_rec_savept LOG_REC_SAVEPT |
Definition at line 367 of file log_record.hpp.
typedef struct log_rec_start_postpone LOG_REC_START_POSTPONE |
Definition at line 266 of file log_record.hpp.
typedef struct log_rec_sysop_end LOG_REC_SYSOP_END |
Definition at line 292 of file log_record.hpp.
typedef struct log_rec_sysop_start_postpone LOG_REC_SYSOP_START_POSTPONE |
Definition at line 315 of file log_record.hpp.
typedef struct log_rec_undo LOG_REC_UNDO |
Definition at line 171 of file log_record.hpp.
typedef struct log_rec_undoredo LOG_REC_UNDOREDO |
Definition at line 162 of file log_record.hpp.
typedef struct log_rec_header LOG_RECORD_HEADER |
Definition at line 141 of file log_record.hpp.
typedef enum log_rectype LOG_RECTYPE |
Definition at line 138 of file log_record.hpp.
typedef enum log_sysop_end_type LOG_SYSOP_END_TYPE |
Definition at line 282 of file log_record.hpp.
typedef struct log_vacuum_info LOG_VACUUM_INFO |
Definition at line 187 of file log_record.hpp.
enum log_rectype |
Definition at line 35 of file log_record.hpp.
enum log_sysop_end_type |
Enumerator | |
---|---|
LOG_SYSOP_END_COMMIT | |
LOG_SYSOP_END_ABORT | |
LOG_SYSOP_END_LOGICAL_UNDO | |
LOG_SYSOP_END_LOGICAL_MVCC_UNDO | |
LOG_SYSOP_END_LOGICAL_COMPENSATE | |
LOG_SYSOP_END_LOGICAL_RUN_POSTPONE |
Definition at line 273 of file log_record.hpp.