📄 ndb_logevent.h
字号:
unsigned gci; } GlobalCheckpointStarted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned gci; } GlobalCheckpointCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned lci; unsigned keep_gci; unsigned restore_gci; } LocalCheckpointStarted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned lci; } LocalCheckpointCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned data; } LCPStoppedInCalcKeepGci; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned node; unsigned table_id; unsigned fragment_id; } LCPFragmentCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned acc_count; unsigned tup_count; } UndoLogBlocked; /* STARTUP */ /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned version; } NDBStartStarted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned version; } NDBStartCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { } STTORRYRecieved; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned phase; unsigned starttype; } StartPhaseCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned own_id; unsigned president_id; unsigned dynamic_id; } CM_REGCONF; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned own_id; unsigned other_id; unsigned cause; } CM_REGREF; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned own_id; unsigned left_id; unsigned right_id; unsigned dynamic_id; } FIND_NEIGHBOURS; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned stoptype; } NDBStopStarted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned action; unsigned signum; } NDBStopCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned action; unsigned signum; unsigned error; unsigned sphase; unsigned extra; } NDBStopForced; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { } NDBStopAborted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned node; unsigned keep_gci; unsigned completed_gci; unsigned restorable_gci; } StartREDOLog; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned log_part; unsigned start_mb; unsigned stop_mb; unsigned gci; } StartLog; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned block; unsigned data1; unsigned data2; unsigned data3; unsigned data4; unsigned data5; unsigned data6; unsigned data7; unsigned data8; unsigned data9; unsigned data10; } UNDORecordsExecuted; /* NODERESTART */ /** Log event specific data for for corresponding NDB_LE_ log event */ struct { } NR_CopyDict; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { } NR_CopyDistr; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned dest_node; } NR_CopyFragsStarted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned dest_node; unsigned table_id; unsigned fragment_id; } NR_CopyFragDone; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned dest_node; } NR_CopyFragsCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned block; /* 0 = all */ unsigned failed_node; unsigned completing_node; /* 0 = all */ } NodeFailCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned failed_node; unsigned failure_state; } NODE_FAILREP; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned code; /* code & state << 16 */ unsigned arbit_node; unsigned ticket_0; unsigned ticket_1; /* TODO */ } ArbitState; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned code; /* code & state << 16 */ unsigned arbit_node; unsigned ticket_0; unsigned ticket_1; /* TODO */ } ArbitResult; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { } GCP_TakeoverStarted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { } GCP_TakeoverCompleted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { } LCP_TakeoverStarted; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned state; } LCP_TakeoverCompleted; /* STATISTIC */ /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned trans_count; unsigned commit_count; unsigned read_count; unsigned simple_read_count; unsigned write_count; unsigned attrinfo_count; unsigned conc_op_count; unsigned abort_count; unsigned scan_count; unsigned range_scan_count; } TransReportCounters; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned ops; } OperationReportCounters; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned table_id; } TableCreated; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned mean_loop_count; } JobStatistic; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned to_node; unsigned mean_sent_bytes; } SendBytesStatistic; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned from_node; unsigned mean_received_bytes; } ReceiveBytesStatistic; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { int gth; /* union is for compatibility backward. * page_size_kb member variable should be removed in the future */ union { unsigned page_size_kb; unsigned page_size_bytes; }; unsigned pages_used; unsigned pages_total; unsigned block; } MemoryUsage; /* ERROR */ /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned to_node; unsigned code; } TransporterError; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned to_node; unsigned code; } TransporterWarning; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned node; unsigned count; } MissedHeartbeat; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned node; } DeadDueToHeartbeat; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { /* TODO */ } WarningEvent; /* INFO */ /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned node; } SentHeartbeat; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { unsigned node; } CreateLogBytes; /** Log event specific data for for corresponding NDB_LE_ log event */ struct { /* TODO */ } InfoEvent; /** Log event data for @ref NDB_LE_BackupStarted */ struct { unsigned starting_node; unsigned backup_id; } BackupStarted; /** Log event data @ref NDB_LE_BackupFailedToStart */ struct { unsigned starting_node; unsigned error; } BackupFailedToStart; /** Log event data @ref NDB_LE_BackupCompleted */ struct { unsigned starting_node; unsigned backup_id; unsigned start_gci; unsigned stop_gci; unsigned n_records; unsigned n_log_records; unsigned n_bytes; unsigned n_log_bytes; } BackupCompleted; /** Log event data @ref NDB_LE_BackupAborted */ struct { unsigned starting_node; unsigned backup_id; unsigned error; } BackupAborted; /** Log event data @ref NDB_LE_SingleUser */ struct { unsigned type; unsigned node_id; } SingleUser; /** Log even data @ref NDB_LE_StartReport */ struct { unsigned report_type; unsigned remaining_time; unsigned bitmask_size; unsigned bitmask_data[1]; } StartReport;#ifndef DOXYGEN_FIX };#else } <union>;#endif };enum ndb_logevent_handle_error { NDB_LEH_NO_ERROR, NDB_LEH_READ_ERROR, NDB_LEH_MISSING_EVENT_SPECIFIER, NDB_LEH_UNKNOWN_EVENT_TYPE, NDB_LEH_UNKNOWN_EVENT_VARIABLE, NDB_LEH_INTERNAL_ERROR};#ifdef __cplusplus}#endif/** @} */#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -