MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dbdih::TakeOverRecord Struct Reference
Collaboration diagram for Dbdih::TakeOverRecord:

Public Types

enum  ToSlaveStatus {
  TO_SLAVE_IDLE = 0, TO_START_FRAGMENTS = 1, TO_RUN_REDO = 2, TO_START_TO = 3,
  TO_SELECTING_NEXT = 4, TO_PREPARE_COPY = 5, TO_UPDATE_BEFORE_STORED = 6, TO_CREATE_FRAG_STORED = 7,
  TO_UPDATE_AFTER_STORED = 8, TO_COPY_FRAG = 9, TO_COPY_ACTIVE = 10, TO_UPDATE_BEFORE_COMMIT = 11,
  TO_CREATE_FRAG_COMMIT = 12, TO_UPDATE_AFTER_COMMIT = 13, TO_START_LOGGING = 14, TO_SL_COPY_ACTIVE = 15,
  TO_SL_CREATE_FRAG = 16, TO_END_TO = 17
}
enum  ToMasterStatus {
  TO_MASTER_IDLE = 0, TO_MUTEX_BEFORE_STORED = 1, TO_MUTEX_BEFORE_LOCKED = 2, TO_AFTER_STORED = 3,
  TO_MUTEX_BEFORE_COMMIT = 4, TO_MUTEX_BEFORE_SWITCH_REPLICA = 5, TO_MUTEX_AFTER_SWITCH_REPLICA = 6, TO_WAIT_LCP = 7
}

Public Attributes

Uint32 m_flags
Uint32 m_senderRef
Uint32 m_senderData
Uint32 restorableGci
Uint32 startGci
Uint32 maxPage
Uint32 toCopyNode
Uint32 toCurrentFragid
Uint32 toCurrentReplica
Uint32 toCurrentTabref
Uint32 toFailedNode
Uint32 toStartingNode
Uint64 toStartTime
ToSlaveStatus toSlaveStatus
ToMasterStatus toMasterStatus
MutexHandle2
< DIH_SWITCH_PRIMARY_MUTEX > 
m_switchPrimaryMutexHandle
MutexHandle2< DIH_FRAGMENT_INFO > m_fragmentInfoMutex
Uint32 nextList
union {
   Uint32   prevList
   Uint32   nextPool
}; 

Detailed Description

Definition at line 563 of file Dbdih.hpp.

Member Enumeration Documentation

States possible on master

Definition at line 593 of file Dbdih.hpp.

States possible on slave (starting node)

Definition at line 568 of file Dbdih.hpp.


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