18 #ifndef NDB_LOGEVENT_H
19 #define NDB_LOGEVENT_H
25 #include "mgmapi_config_parameters.h"
37 NDB_LE_ILLEGAL_TYPE = -1,
168 NDB_LE_SingleUser = 52,
205 NDB_LE_MTSignalStatistics = 70,
212 ,NDB_LE_RedoStatus = 73
213 ,NDB_LE_CreateSchemaObject = 74
214 ,NDB_LE_AlterSchemaObject = 75
215 ,NDB_LE_DropSchemaObject = 76
216 ,NDB_LE_StartReadLCP = 77
217 ,NDB_LE_ReadLCPComplete = 78
219 ,NDB_LE_RebuildIndex = 80
220 ,NDB_LE_SavedEvent = 81
229 NDB_MGM_ILLEGAL_EVENT_SEVERITY = -1,
294 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
309 NDB_MGM_EVENT_CATEGORY_SCHEMA = CFG_LOGLEVEL_SCHEMA,
311 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
312 NDB_MGM_MIN_EVENT_CATEGORY = CFG_MIN_LOGLEVEL,
313 NDB_MGM_MAX_EVENT_CATEGORY = CFG_MAX_LOGLEVEL
348 unsigned restore_gci;
359 unsigned fragment_id;
382 unsigned president_id;
416 unsigned completed_gci;
417 unsigned restorable_gci;
452 unsigned fragment_id;
460 unsigned failed_node;
461 unsigned completing_node;
464 unsigned failed_node;
465 unsigned failure_state;
494 unsigned other_node_count;
496 unsigned causing_node;
499 unsigned nodes_checked;
500 unsigned nodes_suspect;
501 unsigned nodes_failed;
505 unsigned failed_node;
506 unsigned source_node;
511 unsigned trans_count;
512 unsigned commit_count;
514 unsigned simple_read_count;
515 unsigned write_count;
516 unsigned attrinfo_count;
517 unsigned conc_op_count;
518 unsigned abort_count;
520 unsigned range_scan_count;
529 unsigned mean_loop_count;
533 unsigned mean_sent_bytes;
537 unsigned mean_received_bytes;
545 unsigned page_size_kb;
546 unsigned page_size_bytes;
549 unsigned pages_total;
589 unsigned apply_gci_l;
590 unsigned apply_gci_h;
591 unsigned latest_gci_l;
592 unsigned latest_gci_h;
597 unsigned starting_node;
602 unsigned starting_node;
607 unsigned starting_node;
612 unsigned n_log_records;
614 unsigned n_log_bytes;
615 unsigned n_records_hi;
616 unsigned n_log_records_hi;
618 unsigned n_log_bytes_hi;
622 unsigned starting_node;
624 unsigned n_records_lo;
625 unsigned n_records_hi;
626 unsigned n_log_records_lo;
627 unsigned n_log_records_hi;
630 unsigned n_log_bytes_lo;
631 unsigned n_log_bytes_hi;
636 unsigned starting_node;
651 unsigned n_tablespaces;
652 unsigned n_logfilegroups;
653 unsigned n_datafiles;
654 unsigned n_undofiles;
660 unsigned n_records_lo;
661 unsigned n_records_hi;
669 unsigned n_records_lo;
670 unsigned n_records_hi;
687 unsigned report_type;
688 unsigned remaining_time;
689 unsigned bitmask_size;
690 unsigned bitmask_data[1];
695 unsigned report_type;
702 unsigned head_file_no;
704 unsigned tail_file_no;
715 unsigned total_files;
717 unsigned total_mbytes;
718 unsigned mbytes_done;
724 unsigned prioa_count;
726 unsigned priob_count;
943 enum ndb_logevent_handle_error {
946 NDB_LEH_MISSING_EVENT_SPECIFIER,
947 NDB_LEH_UNKNOWN_EVENT_TYPE,
948 NDB_LEH_UNKNOWN_EVENT_VARIABLE,
949 NDB_LEH_INTERNAL_ERROR