MySQL 8.3.0
Source Code Documentation
rpl_io_monitor.h File Reference
#include <atomic>
#include <vector>
#include "sql/rpl_async_conn_failover_table_operations.h"
#include "sql/rpl_mysql_connect.h"

Go to the source code of this file.

Classes

struct  thread_state
 
class  Source_IO_monitor
 Class that contains functionality to monitor group member's state, role and quorum changes on all the potential senders in the Sender List, and if it finds any changes or lost quorum it does automatic update of the sender list. More...
 

Typedefs

using MYSQL_CONN_PTR = std::unique_ptr< Mysql_connection >
 
using MYSQL_CONN_KEY = std::tuple< std::string, std::string, uint >
 
using SENDER_CONN_MERGE_TUPLE = std::tuple< std::string, std::string, uint, std::string, uint, std::string, uint, uint >
 Connection managed tuple <channel, host, port, network_namespace, weight, managed_name, primary_weight, secondary_weight> More...
 

Enumerations

enum class  enum_sql_query_tag : uint {
  CONFIG_MODE_QUORUM_MONITOR = 0 , CONFIG_MODE_QUORUM_IO , GR_MEMBER_ALL_DETAILS , GR_MEMBER_ALL_DETAILS_FETCH_FOR_57 ,
  QUERY_SERVER_SELECT_ONE
}
 
enum class  enum_conf_mode_quorum_status : uint { MANAGED_GR_HAS_QUORUM = 1 , MANAGED_GR_HAS_ERROR , NOT_MANAGED }
 

Typedef Documentation

◆ MYSQL_CONN_KEY

using MYSQL_CONN_KEY = std::tuple<std::string, std::string, uint>

◆ MYSQL_CONN_PTR

using MYSQL_CONN_PTR = std::unique_ptr<Mysql_connection>

◆ SENDER_CONN_MERGE_TUPLE

using SENDER_CONN_MERGE_TUPLE = std::tuple<std::string, std::string, uint, std::string, uint, std::string, uint, uint>

Connection managed tuple <channel, host, port, network_namespace, weight, managed_name, primary_weight, secondary_weight>

Enumeration Type Documentation

◆ enum_conf_mode_quorum_status

enum class enum_conf_mode_quorum_status : uint
strong
Enumerator
MANAGED_GR_HAS_QUORUM 
MANAGED_GR_HAS_ERROR 
NOT_MANAGED 

◆ enum_sql_query_tag

enum class enum_sql_query_tag : uint
strong
Enumerator
CONFIG_MODE_QUORUM_MONITOR 
CONFIG_MODE_QUORUM_IO 
GR_MEMBER_ALL_DETAILS 
GR_MEMBER_ALL_DETAILS_FETCH_FOR_57 
QUERY_SERVER_SELECT_ONE