MySQL 8.0.39
Source Code Documentation
rpl_debug_points.h File Reference
#include "my_dbug.h"

Go to the source code of this file.

Enumerations

enum  enum_rpl_replica_debug_point {
  DBUG_RPL_S_STOP_SLAVE_BACKUP_LOCK = 0 , DBUG_RPL_S_PAUSE_QUEUE_EV , DBUG_RPL_S_IO_WAIT_FOR_SPACE , DBUG_RPL_S_BEFORE_MASTER_UUID ,
  DBUG_RPL_S_SIMULATE_BUSY_IO , DBUG_RPL_S_BEFORE_UNIX_TIMESTAMP , DBUG_RPL_S_BEFORE_SERVER_ID , DBUG_RPL_S_BEFORE_FORCED_ROTATE ,
  DBUG_RPL_S_SBM_AFTER_PREVIOUS_GTID_EV , DBUG_RPL_S_SBM_AFTER_FAKE_ROTATE_EV , DBUG_RPL_S_PS_TABLE_WORKER_RETRY , DBUG_RPL_S_BEFORE_RUNNING_STATUS ,
  DBUG_RPL_S_PS_TABLE_QUEUE , DBUG_RPL_S_PS_TABLES , DBUG_RPL_S_PAUSE_AFTER_QUEUE_EV , DBUG_RPL_S_FLUSH_AFTER_USERV_EV ,
  DBUG_RPL_S_PAUSE_AFTER_IO_STOP , DBUG_RPL_S_MTS_CHECKPOINT_START , DBUG_RPL_S_MTS_CHECKPOINT_END , DBUG_RPL_S_AFTER_SQL_STOP ,
  DBUG_RPL_S_PAUSE_QUEUING , DBUG_RPL_S_HEARTBEAT_EV , DBUG_RPL_S_RETRY_COUNT_EXCEED , DBUG_RPL_R_WAIT_AFTER_AWAKE_ON_THREAD_STOP
}
 

Functions

void rpl_replica_debug_point (enum_rpl_replica_debug_point point_id, THD *thd=nullptr)
 Method used to decrease code pollution in slave methods. More...
 

Enumeration Type Documentation

◆ enum_rpl_replica_debug_point

Enumerator
DBUG_RPL_S_STOP_SLAVE_BACKUP_LOCK 

stop_replica_dont_release_backup_lock

DBUG_RPL_S_PAUSE_QUEUE_EV 

pause_after_queue_event

DBUG_RPL_S_IO_WAIT_FOR_SPACE 

simulate_io_thd_wait_for_disk_space

DBUG_RPL_S_BEFORE_MASTER_UUID 

dbug.before_get_SOURCE_UUID

DBUG_RPL_S_SIMULATE_BUSY_IO 

dbug.simulate_busy_io

DBUG_RPL_S_BEFORE_UNIX_TIMESTAMP 

dbug.before_get_UNIX_TIMESTAMP

DBUG_RPL_S_BEFORE_SERVER_ID 

dbug.before_get_SERVER_ID

DBUG_RPL_S_BEFORE_FORCED_ROTATE 

rpl_before_forced_rotate

DBUG_RPL_S_SBM_AFTER_PREVIOUS_GTID_EV 

calculate_sbm_after_previous_gtid_log_event

DBUG_RPL_S_SBM_AFTER_FAKE_ROTATE_EV 

calculate_sbm_after_fake_rotate_log_event

DBUG_RPL_S_PS_TABLE_WORKER_RETRY 

rpl_ps_tables_worker_retry

DBUG_RPL_S_BEFORE_RUNNING_STATUS 

before_get_running_status_yes

DBUG_RPL_S_PS_TABLE_QUEUE 

rpl_ps_tables_queue

DBUG_RPL_S_PS_TABLES 

rpl_ps_tables

DBUG_RPL_S_PAUSE_AFTER_QUEUE_EV 

pause_after_queue_event

DBUG_RPL_S_FLUSH_AFTER_USERV_EV 

flush_after_reading_user_var_event

DBUG_RPL_S_PAUSE_AFTER_IO_STOP 

pause_after_io_thread_stop_hook

DBUG_RPL_S_MTS_CHECKPOINT_START 

mta_checkpoint - start

DBUG_RPL_S_MTS_CHECKPOINT_END 

mta_checkpoint - end

DBUG_RPL_S_AFTER_SQL_STOP 

pause_after_sql_thread_stop_hook

DBUG_RPL_S_PAUSE_QUEUING 

pause_on_queuing_event

DBUG_RPL_S_HEARTBEAT_EV 

reached_heart_beat_queue_event

DBUG_RPL_S_RETRY_COUNT_EXCEED 

handle_slave_io

DBUG_RPL_R_WAIT_AFTER_AWAKE_ON_THREAD_STOP 

Pause on a replica thread stop after aweking the THD.

Function Documentation

◆ rpl_replica_debug_point()

void rpl_replica_debug_point ( enum_rpl_replica_debug_point  point_id,
THD thd = nullptr 
)

Method used to decrease code pollution in slave methods.