MySQL  8.0.21
Source Code Documentation
applier.h File Reference

Go to the source code of this file.

Classes

class  Action_packet
 A packet to control the applier in a event oriented way. More...
 
class  View_change_packet
 A packet to send view change related info to the applier. More...
 
class  Single_primary_action_packet
 A packet to send new primary election related info to the applier. More...
 
class  Queue_checkpoint_packet
 A packet to wait for queue consumption. More...
 
class  Transaction_prepared_action_packet
 A packet to inform that a given member did prepare a given transaction. More...
 
class  Sync_before_execution_action_packet
 A packet to request a synchronization point on the global message order on a given member before transaction execution. More...
 
class  Leaving_members_action_packet
 A packet to inform pipeline listeners of leaving members, this packet will be handled on the global message order, that is, ordered with certification. More...
 
class  Applier_module_interface
 
class  Applier_module
 

Macros

#define ACTION_PACKET_TYPE   2
 
#define VIEW_CHANGE_PACKET_TYPE   3
 
#define SINGLE_PRIMARY_PACKET_TYPE   4
 
#define SYNC_BEFORE_EXECUTION_PACKET_TYPE   5
 
#define TRANSACTION_PREPARED_PACKET_TYPE   6
 
#define LEAVING_MEMBERS_PACKET_TYPE   7
 
#define APPLIER_GTID_CHECK_TIMEOUT_ERROR   -1
 
#define APPLIER_RELAY_LOG_NOT_INITED   -2
 
#define APPLIER_THREAD_ABORTED   -3
 

Typedefs

typedef enum enum_applier_state Member_applier_state
 

Enumerations

enum  enum_packet_action { TERMINATION_PACKET = 0, SUSPENSION_PACKET, CHECKPOINT_PACKET, ACTION_NUMBER = 3 }
 
enum  enum_applier_state { APPLIER_STATE_ON = 1, APPLIER_STATE_OFF, APPLIER_ERROR }
 

Variables

char applier_module_channel_name []
 

Macro Definition Documentation

◆ ACTION_PACKET_TYPE

#define ACTION_PACKET_TYPE   2

◆ APPLIER_GTID_CHECK_TIMEOUT_ERROR

#define APPLIER_GTID_CHECK_TIMEOUT_ERROR   -1

◆ APPLIER_RELAY_LOG_NOT_INITED

#define APPLIER_RELAY_LOG_NOT_INITED   -2

◆ APPLIER_THREAD_ABORTED

#define APPLIER_THREAD_ABORTED   -3

◆ LEAVING_MEMBERS_PACKET_TYPE

#define LEAVING_MEMBERS_PACKET_TYPE   7

◆ SINGLE_PRIMARY_PACKET_TYPE

#define SINGLE_PRIMARY_PACKET_TYPE   4

◆ SYNC_BEFORE_EXECUTION_PACKET_TYPE

#define SYNC_BEFORE_EXECUTION_PACKET_TYPE   5

◆ TRANSACTION_PREPARED_PACKET_TYPE

#define TRANSACTION_PREPARED_PACKET_TYPE   6

◆ VIEW_CHANGE_PACKET_TYPE

#define VIEW_CHANGE_PACKET_TYPE   3

Typedef Documentation

◆ Member_applier_state

Enumeration Type Documentation

◆ enum_applier_state

Enumerator
APPLIER_STATE_ON 
APPLIER_STATE_OFF 
APPLIER_ERROR 

◆ enum_packet_action

Enumerator
TERMINATION_PACKET 
SUSPENSION_PACKET 
CHECKPOINT_PACKET 
ACTION_NUMBER 

Variable Documentation

◆ applier_module_channel_name

char applier_module_channel_name[]