The world's most popular open source database
#include <ndb_logevent.h>
Public Attributes | |
| void * | handle |
| enum Ndb_logevent_type | type |
| unsigned | time |
| enum ndb_mgm_event_category | category |
| enum ndb_mgm_event_severity | severity |
| unsigned | level |
| unsigned | source_nodeid |
| union { | |
| struct { | |
| unsigned node | |
| } Connected | |
| struct { | |
| unsigned node | |
| } Disconnected | |
| struct { | |
| unsigned node | |
| } CommunicationClosed | |
| struct { | |
| unsigned node | |
| } CommunicationOpened | |
| struct { | |
| unsigned node | |
| unsigned version | |
| } ConnectedApiVersion | |
| struct { | |
| unsigned gci | |
| } GlobalCheckpointStarted | |
| struct { | |
| unsigned gci | |
| } GlobalCheckpointCompleted | |
| struct { | |
| unsigned lci | |
| unsigned keep_gci | |
| unsigned restore_gci | |
| } LocalCheckpointStarted | |
| struct { | |
| unsigned lci | |
| } LocalCheckpointCompleted | |
| struct { | |
| unsigned data | |
| } LCPStoppedInCalcKeepGci | |
| struct { | |
| unsigned node | |
| unsigned table_id | |
| unsigned fragment_id | |
| } LCPFragmentCompleted | |
| struct { | |
| unsigned acc_count | |
| unsigned tup_count | |
| } UndoLogBlocked | |
| struct { | |
| unsigned version | |
| } NDBStartStarted | |
| struct { | |
| unsigned version | |
| } NDBStartCompleted | |
| struct { | |
| } STTORRYRecieved | |
| struct { | |
| unsigned phase | |
| unsigned starttype | |
| } StartPhaseCompleted | |
| struct { | |
| unsigned own_id | |
| unsigned president_id | |
| unsigned dynamic_id | |
| } CM_REGCONF | |
| struct { | |
| unsigned own_id | |
| unsigned other_id | |
| unsigned cause | |
| } CM_REGREF | |
| struct { | |
| unsigned own_id | |
| unsigned left_id | |
| unsigned right_id | |
| unsigned dynamic_id | |
| } FIND_NEIGHBOURS | |
| struct { | |
| unsigned stoptype | |
| } NDBStopStarted | |
| struct { | |
| unsigned action | |
| unsigned signum | |
| } NDBStopCompleted | |
| struct { | |
| unsigned action | |
| unsigned signum | |
| unsigned error | |
| unsigned sphase | |
| unsigned extra | |
| } NDBStopForced | |
| struct { | |
| } NDBStopAborted | |
| struct { | |
| unsigned node | |
| unsigned keep_gci | |
| unsigned completed_gci | |
| unsigned restorable_gci | |
| } StartREDOLog | |
| struct { | |
| unsigned log_part | |
| unsigned start_mb | |
| unsigned stop_mb | |
| unsigned gci | |
| } StartLog | |
| struct { | |
| unsigned block | |
| unsigned data1 | |
| unsigned data2 | |
| unsigned data3 | |
| unsigned data4 | |
| unsigned data5 | |
| unsigned data6 | |
| unsigned data7 | |
| unsigned data8 | |
| unsigned data9 | |
| unsigned data10 | |
| } UNDORecordsExecuted | |
| struct { | |
| } NR_CopyDict | |
| struct { | |
| } NR_CopyDistr | |
| struct { | |
| unsigned dest_node | |
| } NR_CopyFragsStarted | |
| struct { | |
| unsigned dest_node | |
| unsigned table_id | |
| unsigned fragment_id | |
| } NR_CopyFragDone | |
| struct { | |
| unsigned dest_node | |
| } NR_CopyFragsCompleted | |
| struct { | |
| unsigned block | |
| unsigned failed_node | |
| unsigned completing_node | |
| } NodeFailCompleted | |
| struct { | |
| unsigned failed_node | |
| unsigned failure_state | |
| } NODE_FAILREP | |
| struct { | |
| unsigned code | |
| unsigned arbit_node | |
| unsigned ticket_0 | |
| unsigned ticket_1 | |
| } ArbitState | |
| struct { | |
| unsigned code | |
| unsigned arbit_node | |
| unsigned ticket_0 | |
| unsigned ticket_1 | |
| } ArbitResult | |
| struct { | |
| } GCP_TakeoverStarted | |
| struct { | |
| } GCP_TakeoverCompleted | |
| struct { | |
| } LCP_TakeoverStarted | |
| struct { | |
| unsigned state | |
| } LCP_TakeoverCompleted | |
| 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 | |
| struct { | |
| unsigned ops | |
| } OperationReportCounters | |
| struct { | |
| unsigned table_id | |
| } TableCreated | |
| struct { | |
| unsigned mean_loop_count | |
| } JobStatistic | |
| struct { | |
| unsigned to_node | |
| unsigned mean_sent_bytes | |
| } SendBytesStatistic | |
| struct { | |
| unsigned from_node | |
| unsigned mean_received_bytes | |
| } ReceiveBytesStatistic | |
| struct { | |
| int gth | |
| unsigned page_size_kb | |
| unsigned pages_used | |
| unsigned pages_total | |
| unsigned block | |
| } MemoryUsage | |
| struct { | |
| unsigned to_node | |
| unsigned code | |
| } TransporterError | |
| struct { | |
| unsigned to_node | |
| unsigned code | |
| } TransporterWarning | |
| struct { | |
| unsigned node | |
| unsigned count | |
| } MissedHeartbeat | |
| struct { | |
| unsigned node | |
| } DeadDueToHeartbeat | |
| struct { | |
| } WarningEvent | |
| struct { | |
| unsigned node | |
| } SentHeartbeat | |
| struct { | |
| unsigned node | |
| } CreateLogBytes | |
| struct { | |
| } InfoEvent | |
| struct { | |
| unsigned usage | |
| unsigned alloc | |
| unsigned max | |
| unsigned apply_gci_l | |
| unsigned apply_gci_h | |
| unsigned latest_gci_l | |
| unsigned latest_gci_h | |
| } EventBufferStatus | |
| struct { | |
| unsigned starting_node | |
| unsigned backup_id | |
| } BackupStarted | |
| struct { | |
| unsigned starting_node | |
| unsigned error | |
| } BackupFailedToStart | |
| 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 | |
| struct { | |
| unsigned starting_node | |
| unsigned backup_id | |
| unsigned error | |
| } BackupAborted | |
| struct { | |
| unsigned type | |
| unsigned node_id | |
| } SingleUser | |
| struct { | |
| unsigned report_type | |
| unsigned remaining_time | |
| unsigned bitmask_size | |
| unsigned bitmask_data [1] | |
| } StartReport | |
| }; | |
Definition at line 280 of file ndb_logevent.h.
| union { ... } |
Union of log event specific data. Use type to decide which struct to use
| unsigned ndb_logevent::abort_count |
Definition at line 528 of file ndb_logevent.h.
| unsigned ndb_logevent::acc_count |
Definition at line 366 of file ndb_logevent.h.
| unsigned ndb_logevent::action |
Definition at line 412 of file ndb_logevent.h.
| unsigned ndb_logevent::alloc |
Definition at line 604 of file ndb_logevent.h.
| unsigned ndb_logevent::apply_gci_h |
Definition at line 607 of file ndb_logevent.h.
| unsigned ndb_logevent::apply_gci_l |
Definition at line 606 of file ndb_logevent.h.
| unsigned ndb_logevent::arbit_node |
Definition at line 491 of file ndb_logevent.h.
| struct { ... } ndb_logevent::ArbitResult |
Log event specific data for for corresponding NDB_LE_ log event
Referenced by main().
| struct { ... } ndb_logevent::ArbitState |
Log event specific data for for corresponding NDB_LE_ log event
Referenced by main().
| unsigned ndb_logevent::attrinfo_count |
Definition at line 526 of file ndb_logevent.h.
| unsigned ndb_logevent::backup_id |
Definition at line 615 of file ndb_logevent.h.
| struct { ... } ndb_logevent::BackupAborted |
Log event data NDB_LE_BackupAborted
| struct { ... } ndb_logevent::BackupCompleted |
Log event data NDB_LE_BackupCompleted
| struct { ... } ndb_logevent::BackupFailedToStart |
Log event data NDB_LE_BackupFailedToStart
| struct { ... } ndb_logevent::BackupStarted |
Log event data for NDB_LE_BackupStarted
Referenced by main().
| unsigned ndb_logevent::bitmask_data[1] |
Definition at line 649 of file ndb_logevent.h.
| unsigned ndb_logevent::bitmask_size |
Definition at line 648 of file ndb_logevent.h.
| unsigned ndb_logevent::block |
Definition at line 442 of file ndb_logevent.h.
Category of log event
Definition at line 293 of file ndb_logevent.h.
Referenced by ndb_logevent_get_next().
| unsigned ndb_logevent::cause |
Definition at line 397 of file ndb_logevent.h.
| struct { ... } ndb_logevent::CM_REGCONF |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::CM_REGREF |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::code |
Definition at line 490 of file ndb_logevent.h.
| unsigned ndb_logevent::commit_count |
Definition at line 522 of file ndb_logevent.h.
| struct { ... } ndb_logevent::CommunicationClosed |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::CommunicationOpened |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::completed_gci |
Definition at line 430 of file ndb_logevent.h.
| unsigned ndb_logevent::completing_node |
Definition at line 481 of file ndb_logevent.h.
| unsigned ndb_logevent::conc_op_count |
Definition at line 527 of file ndb_logevent.h.
| struct { ... } ndb_logevent::Connected |
Log event specific data for for corresponding NDB_LE_ log event
Referenced by main().
| struct { ... } ndb_logevent::ConnectedApiVersion |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::count |
Definition at line 577 of file ndb_logevent.h.
| struct { ... } ndb_logevent::CreateLogBytes |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::data |
Definition at line 356 of file ndb_logevent.h.
| unsigned ndb_logevent::data1 |
Definition at line 443 of file ndb_logevent.h.
| unsigned ndb_logevent::data10 |
Definition at line 452 of file ndb_logevent.h.
| unsigned ndb_logevent::data2 |
Definition at line 444 of file ndb_logevent.h.
| unsigned ndb_logevent::data3 |
Definition at line 445 of file ndb_logevent.h.
| unsigned ndb_logevent::data4 |
Definition at line 446 of file ndb_logevent.h.
| unsigned ndb_logevent::data5 |
Definition at line 447 of file ndb_logevent.h.
| unsigned ndb_logevent::data6 |
Definition at line 448 of file ndb_logevent.h.
| unsigned ndb_logevent::data7 |
Definition at line 449 of file ndb_logevent.h.
| unsigned ndb_logevent::data8 |
Definition at line 450 of file ndb_logevent.h.
| unsigned ndb_logevent::data9 |
Definition at line 451 of file ndb_logevent.h.
| struct { ... } ndb_logevent::DeadDueToHeartbeat |
Log event specific data for for corresponding NDB_LE_ log event
Referenced by main().
| unsigned ndb_logevent::dest_node |
Definition at line 464 of file ndb_logevent.h.
| struct { ... } ndb_logevent::Disconnected |
Log event specific data for for corresponding NDB_LE_ log event
Referenced by main().
| unsigned ndb_logevent::dynamic_id |
Definition at line 391 of file ndb_logevent.h.
| unsigned ndb_logevent::error |
Definition at line 419 of file ndb_logevent.h.
| struct { ... } ndb_logevent::EventBufferStatus |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::extra |
Definition at line 421 of file ndb_logevent.h.
| unsigned ndb_logevent::failed_node |
Definition at line 480 of file ndb_logevent.h.
| unsigned ndb_logevent::failure_state |
Definition at line 486 of file ndb_logevent.h.
| struct { ... } ndb_logevent::FIND_NEIGHBOURS |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::fragment_id |
Definition at line 362 of file ndb_logevent.h.
| unsigned ndb_logevent::from_node |
Definition at line 551 of file ndb_logevent.h.
| unsigned ndb_logevent::gci |
Definition at line 338 of file ndb_logevent.h.
| struct { ... } ndb_logevent::GCP_TakeoverCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::GCP_TakeoverStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::GlobalCheckpointCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::GlobalCheckpointStarted |
Log event specific data for for corresponding NDB_LE_ log event
Definition at line 556 of file ndb_logevent.h.
| void* ndb_logevent::handle |
NdbLogEventHandle (to be used for comparing only) set in ndb_logevent_get_next()
Definition at line 284 of file ndb_logevent.h.
| struct { ... } ndb_logevent::InfoEvent |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::JobStatistic |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::keep_gci |
Definition at line 347 of file ndb_logevent.h.
| unsigned ndb_logevent::latest_gci_h |
Definition at line 609 of file ndb_logevent.h.
| unsigned ndb_logevent::latest_gci_l |
Definition at line 608 of file ndb_logevent.h.
| unsigned ndb_logevent::lci |
Definition at line 346 of file ndb_logevent.h.
| struct { ... } ndb_logevent::LCP_TakeoverCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LCP_TakeoverStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LCPFragmentCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LCPStoppedInCalcKeepGci |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::left_id |
Definition at line 402 of file ndb_logevent.h.
| unsigned ndb_logevent::level |
Level (0-15) of log event
Definition at line 299 of file ndb_logevent.h.
Referenced by ndb_logevent_get_next().
| struct { ... } ndb_logevent::LocalCheckpointCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LocalCheckpointStarted |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::log_part |
Definition at line 435 of file ndb_logevent.h.
| unsigned ndb_logevent::max |
Definition at line 605 of file ndb_logevent.h.
| unsigned ndb_logevent::mean_loop_count |
Definition at line 542 of file ndb_logevent.h.
| unsigned ndb_logevent::mean_received_bytes |
Definition at line 552 of file ndb_logevent.h.
| unsigned ndb_logevent::mean_sent_bytes |
Definition at line 547 of file ndb_logevent.h.
| struct { ... } ndb_logevent::MemoryUsage |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::MissedHeartbeat |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::n_bytes |
Definition at line 630 of file ndb_logevent.h.
| unsigned ndb_logevent::n_log_bytes |
Definition at line 631 of file ndb_logevent.h.
| unsigned ndb_logevent::n_log_records |
Definition at line 629 of file ndb_logevent.h.
| unsigned ndb_logevent::n_records |
Definition at line 628 of file ndb_logevent.h.
| struct { ... } ndb_logevent::NDBStartCompleted |
Log event specific data for for corresponding NDB_LE_ log event
Referenced by main().
| struct { ... } ndb_logevent::NDBStartStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopAborted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopForced |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopStarted |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::node |
Definition at line 311 of file ndb_logevent.h.
| struct { ... } ndb_logevent::NODE_FAILREP |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::node_id |
Definition at line 642 of file ndb_logevent.h.
| struct { ... } ndb_logevent::NodeFailCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyDict |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyDistr |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyFragDone |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyFragsCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyFragsStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::OperationReportCounters |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::ops |
Definition at line 534 of file ndb_logevent.h.
| unsigned ndb_logevent::other_id |
Definition at line 396 of file ndb_logevent.h.
| unsigned ndb_logevent::own_id |
Definition at line 389 of file ndb_logevent.h.
| unsigned ndb_logevent::page_size_kb |
Definition at line 557 of file ndb_logevent.h.
| unsigned ndb_logevent::pages_total |
Definition at line 559 of file ndb_logevent.h.
| unsigned ndb_logevent::pages_used |
Definition at line 558 of file ndb_logevent.h.
| unsigned ndb_logevent::phase |
Definition at line 384 of file ndb_logevent.h.
| unsigned ndb_logevent::president_id |
Definition at line 390 of file ndb_logevent.h.
| unsigned ndb_logevent::range_scan_count |
Definition at line 530 of file ndb_logevent.h.
| unsigned ndb_logevent::read_count |
Definition at line 523 of file ndb_logevent.h.
| struct { ... } ndb_logevent::ReceiveBytesStatistic |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::remaining_time |
Definition at line 647 of file ndb_logevent.h.
| unsigned ndb_logevent::report_type |
Definition at line 646 of file ndb_logevent.h.
| unsigned ndb_logevent::restorable_gci |
Definition at line 431 of file ndb_logevent.h.
| unsigned ndb_logevent::restore_gci |
Definition at line 348 of file ndb_logevent.h.
| unsigned ndb_logevent::right_id |
Definition at line 403 of file ndb_logevent.h.
| un |

