MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ndb_logevent Struct Reference

#include <ndb_logevent.h>

Collaboration diagram for ndb_logevent:

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 ndb_logevent_Connected   Connected
   struct ndb_logevent_Disconnected   Disconnected
   struct
ndb_logevent_CommunicationClosed   CommunicationClosed
   struct
ndb_logevent_CommunicationOpened   CommunicationOpened
   struct
ndb_logevent_ConnectedApiVersion   ConnectedApiVersion
   struct
ndb_logevent_GlobalCheckpointStarted   GlobalCheckpointStarted
   struct
ndb_logevent_GlobalCheckpointCompleted   GlobalCheckpointCompleted
   struct
ndb_logevent_LocalCheckpointStarted   LocalCheckpointStarted
   struct
ndb_logevent_LocalCheckpointCompleted   LocalCheckpointCompleted
   struct
ndb_logevent_LCPStoppedInCalcKeepGci   LCPStoppedInCalcKeepGci
   struct
ndb_logevent_LCPFragmentCompleted   LCPFragmentCompleted
   struct ndb_logevent_UndoLogBlocked   UndoLogBlocked
   struct ndb_logevent_NDBStartStarted   NDBStartStarted
   struct
ndb_logevent_NDBStartCompleted   NDBStartCompleted
   struct ndb_logevent_STTORRYRecieved   STTORRYRecieved
   struct
ndb_logevent_StartPhaseCompleted   StartPhaseCompleted
   struct ndb_logevent_CM_REGCONF   CM_REGCONF
   struct ndb_logevent_CM_REGREF   CM_REGREF
   struct ndb_logevent_FIND_NEIGHBOURS   FIND_NEIGHBOURS
   struct ndb_logevent_NDBStopStarted   NDBStopStarted
   struct
ndb_logevent_NDBStopCompleted   NDBStopCompleted
   struct ndb_logevent_NDBStopForced   NDBStopForced
   struct ndb_logevent_NDBStopAborted   NDBStopAborted
   struct ndb_logevent_StartREDOLog   StartREDOLog
   struct ndb_logevent_StartLog   StartLog
   struct
ndb_logevent_UNDORecordsExecuted   UNDORecordsExecuted
   struct ndb_logevent_NR_CopyDict   NR_CopyDict
   struct ndb_logevent_NR_CopyDistr   NR_CopyDistr
   struct
ndb_logevent_NR_CopyFragsStarted   NR_CopyFragsStarted
   struct ndb_logevent_NR_CopyFragDone   NR_CopyFragDone
   struct
ndb_logevent_NR_CopyFragsCompleted   NR_CopyFragsCompleted
   struct
ndb_logevent_NodeFailCompleted   NodeFailCompleted
   struct ndb_logevent_NODE_FAILREP   NODE_FAILREP
   struct ndb_logevent_ArbitState   ArbitState
   struct ndb_logevent_ArbitResult   ArbitResult
   struct
ndb_logevent_GCP_TakeoverStarted   GCP_TakeoverStarted
   struct
ndb_logevent_GCP_TakeoverCompleted   GCP_TakeoverCompleted
   struct
ndb_logevent_LCP_TakeoverStarted   LCP_TakeoverStarted
   struct
ndb_logevent_LCP_TakeoverCompleted   LCP_TakeoverCompleted
   struct
ndb_logevent_ConnectCheckStarted   ConnectCheckStarted
   struct
ndb_logevent_ConnectCheckCompleted   ConnectCheckCompleted
   struct
ndb_logevent_NodeFailRejected   NodeFailRejected
   struct
ndb_logevent_TransReportCounters   TransReportCounters
   struct
ndb_logevent_OperationReportCounters   OperationReportCounters
   struct ndb_logevent_TableCreated   TableCreated
   struct ndb_logevent_JobStatistic   JobStatistic
   struct
ndb_logevent_SendBytesStatistic   SendBytesStatistic
   struct
ndb_logevent_ReceiveBytesStatistic   ReceiveBytesStatistic
   struct ndb_logevent_MemoryUsage   MemoryUsage
   struct
ndb_logevent_TransporterError   TransporterError
   struct
ndb_logevent_TransporterWarning   TransporterWarning
   struct ndb_logevent_MissedHeartbeat   MissedHeartbeat
   struct
ndb_logevent_DeadDueToHeartbeat   DeadDueToHeartbeat
   struct ndb_logevent_WarningEvent   WarningEvent
   struct ndb_logevent_SentHeartbeat   SentHeartbeat
   struct ndb_logevent_CreateLogBytes   CreateLogBytes
   struct ndb_logevent_InfoEvent   InfoEvent
   struct
ndb_logevent_EventBufferStatus   EventBufferStatus
   struct ndb_logevent_SavedEvent   SavedEvent
   struct ndb_logevent_BackupStarted   BackupStarted
   struct
ndb_logevent_BackupFailedToStart   BackupFailedToStart
   struct ndb_logevent_BackupCompleted   BackupCompleted
   struct ndb_logevent_BackupStatus   BackupStatus
   struct ndb_logevent_BackupAborted   BackupAborted
   struct ndb_logevent_RestoreStarted   RestoreStarted
   struct ndb_logevent_RestoreMetaData   RestoreMetaData
   struct ndb_logevent_RestoreData   RestoreData
   struct ndb_logevent_RestoreLog   RestoreLog
   struct
ndb_logevent_RestoreCompleted   RestoreCompleted
   struct
ndb_logevent_LogFileInitStatus   LogFileInitStatus
   struct ndb_logevent_SingleUser   SingleUser
   struct
ndb_logevent_MTSignalStatistics   MTSignalStatistics
   struct ndb_logevent_StartReport   StartReport
   struct
ndb_logevent_SubscriptionStatus   SubscriptionStatus
   struct ndb_logevent_RedoStatus   RedoStatus
   struct
ndb_logevent_CreateSchemaObject   CreateSchemaObject
   struct
ndb_logevent_AlterSchemaObject   AlterSchemaObject
   struct
ndb_logevent_DropSchemaObject   DropSchemaObject
   struct ndb_logevent_StartReadLCP   StartReadLCP
   struct ndb_logevent_ReadLCPComplete   ReadLCPComplete
   struct ndb_logevent_RunRedo   RunRedo
   struct ndb_logevent_RebuildIndex   RebuildIndex
   unsigned   Data [29]
}; 

Detailed Description

Structure to store and retrieve log event information.

See Also
Structured Log Events

Definition at line 793 of file ndb_logevent.h.

Member Data Documentation

union { ... }

Union of log event specific data. Use type to decide which struct to use

struct ndb_logevent_BackupAborted ndb_logevent::BackupAborted

Log event data NDB_LE_BackupAborted

Definition at line 902 of file ndb_logevent.h.

struct ndb_logevent_BackupCompleted ndb_logevent::BackupCompleted

Log event data NDB_LE_BackupCompleted

Definition at line 898 of file ndb_logevent.h.

struct ndb_logevent_BackupFailedToStart ndb_logevent::BackupFailedToStart

Log event data NDB_LE_BackupFailedToStart

Definition at line 896 of file ndb_logevent.h.

struct ndb_logevent_BackupStarted ndb_logevent::BackupStarted

Log event data for NDB_LE_BackupStarted

Definition at line 894 of file ndb_logevent.h.

struct ndb_logevent_BackupStatus ndb_logevent::BackupStatus

Log event data NDB_LE_BackupStatus

Definition at line 900 of file ndb_logevent.h.

enum ndb_mgm_event_category ndb_logevent::category

Category of log event

Definition at line 806 of file ndb_logevent.h.

unsigned ndb_logevent::Data[29]

Raw data

Definition at line 935 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 797 of file ndb_logevent.h.

unsigned ndb_logevent::level

Level (0-15) of log event

Definition at line 812 of file ndb_logevent.h.

struct ndb_logevent_LogFileInitStatus ndb_logevent::LogFileInitStatus

Log event data NDB_LE_LogFileInitStatus

Definition at line 914 of file ndb_logevent.h.

struct ndb_logevent_MTSignalStatistics ndb_logevent::MTSignalStatistics

Log event data NDB_LE_MTSignalStatistic

Definition at line 918 of file ndb_logevent.h.

struct ndb_logevent_RedoStatus ndb_logevent::RedoStatus

Log event data NDB_LE_RedoStatus

Definition at line 924 of file ndb_logevent.h.

struct ndb_logevent_RestoreCompleted ndb_logevent::RestoreCompleted

Log event data NDB_LE_RestoreCompleted

Definition at line 912 of file ndb_logevent.h.

struct ndb_logevent_RestoreData ndb_logevent::RestoreData

Log event data NDB_LE_RestoreData

Definition at line 908 of file ndb_logevent.h.

struct ndb_logevent_RestoreLog ndb_logevent::RestoreLog

Log event data NDB_LE_RestoreLog

Definition at line 910 of file ndb_logevent.h.

struct ndb_logevent_RestoreMetaData ndb_logevent::RestoreMetaData

Log event data NDB_LE_RestoreMetaData

Definition at line 906 of file ndb_logevent.h.

struct ndb_logevent_RestoreStarted ndb_logevent::RestoreStarted

Log event data NDB_LE_RestoreStarted

Definition at line 904 of file ndb_logevent.h.

enum ndb_mgm_event_severity ndb_logevent::severity

Severity of log event

Definition at line 809 of file ndb_logevent.h.

struct ndb_logevent_SingleUser ndb_logevent::SingleUser

Log event data NDB_LE_SingleUser

Definition at line 916 of file ndb_logevent.h.

unsigned ndb_logevent::source_nodeid

Node ID of the node that reported the log event

Definition at line 815 of file ndb_logevent.h.

struct ndb_logevent_StartReport ndb_logevent::StartReport

Log event data NDB_LE_StartReport

Definition at line 920 of file ndb_logevent.h.

struct ndb_logevent_SubscriptionStatus ndb_logevent::SubscriptionStatus

Log event data NDB_LE_SubscriptionStatus

Definition at line 922 of file ndb_logevent.h.

unsigned ndb_logevent::time

Time when log event was registred at the management server

Definition at line 803 of file ndb_logevent.h.

enum Ndb_logevent_type ndb_logevent::type

Which event

Definition at line 800 of file ndb_logevent.h.


The documentation for this struct was generated from the following file: