|
CUBRID Engine
latest
|
#include "file_io.h"#include "log_comm.h"#include "log_lsa.hpp"#include "log_record.hpp"#include "recovery.h"#include "release_string.h"#include "storage_common.h"#include "system.h"

Go to the source code of this file.
Macros | |
| #define | LOG_PAGE_INIT_VALUE 0xff |
| #define | NUM_NORMAL_TRANS (prm_get_integer_value (PRM_ID_CSS_MAX_CLIENTS)) |
| #define | NUM_SYSTEM_TRANS 1 |
| #define | NUM_NON_SYSTEM_TRANS (css_get_max_conn ()) |
| #define | MAX_NTRANS (NUM_NON_SYSTEM_TRANS + NUM_SYSTEM_TRANS) |
| #define | VACUUM_NULL_LOG_BLOCKID -1 |
Enumerations | |
| enum | LOG_HA_FILESTAT { LOG_HA_FILESTAT_CLEAR = 0, LOG_HA_FILESTAT_ARCHIVED = 1, LOG_HA_FILESTAT_SYNCHRONIZED = 2 } |
Functions | |
| int | logtb_collect_local_clients (int **local_client_pids) |
| #define LOG_PAGE_INIT_VALUE 0xff |
Definition at line 46 of file log_common_impl.h.
Referenced by log_recovery_analysis(), logpb_archive_active_log(), logpb_copy_database(), logpb_flush_header(), logpb_initialize_pool(), logpb_locate_page(), and logpb_page_get_first_null_block_lsa().
| #define MAX_NTRANS (NUM_NON_SYSTEM_TRANS + NUM_SYSTEM_TRANS) |
Definition at line 51 of file log_common_impl.h.
Referenced by boot_initialize_client(), boot_restart_server(), fileio_open(), logtb_define_trantable_log_latch(), logtb_expand_trantable(), pgbuf_initialize(), pgbuf_initialize_lock_table(), pgbuf_initialize_lru_list(), pgbuf_initialize_page_quota_parameters(), pgbuf_initialize_thrd_holder(), pgbuf_start_scan(), qfile_get_list_cache_entry_param_values(), qfile_get_list_cache_entry_size_for_allocate(), qfile_lookup_list_cache_entry(), qfile_update_list_cache_entry(), qmgr_allocate_tran_entries(), and scan_free_iscan_oid_buf_list().
| #define NUM_NON_SYSTEM_TRANS (css_get_max_conn ()) |
Definition at line 50 of file log_common_impl.h.
Referenced by cubthread::manager::set_max_thread_count_from_config().
| #define NUM_NORMAL_TRANS (prm_get_integer_value (PRM_ID_CSS_MAX_CLIENTS)) |
Definition at line 48 of file log_common_impl.h.
Referenced by css_is_shutdown_timeout_expired(), css_process_new_client(), fileio_initialize_backup_thread(), server_ping_with_handshake(), and cubmonitor::transaction_sheet_manager::static_init().
| #define NUM_SYSTEM_TRANS 1 |
Definition at line 49 of file log_common_impl.h.
| #define VACUUM_NULL_LOG_BLOCKID -1 |
Definition at line 54 of file log_common_impl.h.
Referenced by logpb_last_complete_blockid(), vacuum_data_load_and_recover(), vacuum_get_log_blockid(), vacuum_reset_data_after_copydb(), vacuum_rv_redo_initialize_data_page(), and vacuum_sa_reflect_last_blockid().
| enum LOG_HA_FILESTAT |
| Enumerator | |
|---|---|
| LOG_HA_FILESTAT_CLEAR | |
| LOG_HA_FILESTAT_ARCHIVED | |
| LOG_HA_FILESTAT_SYNCHRONIZED | |
Definition at line 56 of file log_common_impl.h.
| int logtb_collect_local_clients | ( | int ** | local_client_pids | ) |
Definition at line 5135 of file log_tran_table.c.
References trantable::all_tdes, boot_Host_name, log_tdes::client, ER_FAILED, clientids::get_host_name(), clientids::host_name, i, log_Gl, NULL, NUM_TOTAL_TRAN_INDICES, clientids::process_id, and log_global::trantable.
Referenced by abort_handler().
