MySQL  8.0.28
Source Code Documentation
mysqlrouter::anonymous_namespace{cluster_metadata.cc} Namespace Reference

Functions

std::string to_string_md (const ClusterType cluster_type)
 
void update_router_info_v1 (const uint32_t router_id, const std::string &rw_endpoint, const std::string &ro_endpoint, const std::string &rw_x_endpoint, const std::string &ro_x_endpoint, const std::string &username, MySQLSession *mysql)
 
void update_router_info_v2 (const mysqlrouter::ClusterType cluster_type, const uint32_t router_id, const std::string &cluster_id, const std::string &target_cluster, const std::string &rw_endpoint, const std::string &ro_endpoint, const std::string &rw_x_endpoint, const std::string &ro_x_endpoint, const std::string &username, MySQLSession *mysql)
 
uint32_t register_router_v1 (const std::string &router_name, const bool overwrite, const std::string &hostname_override, MySQLSession *mysql, mysql_harness::SocketOperationsBase *socket_operations)
 
uint32_t register_router_v2 (const std::string &router_name, const bool overwrite, const std::string &hostname_override, MySQLSession *mysql, mysql_harness::SocketOperationsBase *socket_operations)
 

Function Documentation

◆ register_router_v1()

uint32_t mysqlrouter::anonymous_namespace{cluster_metadata.cc}::register_router_v1 ( const std::string &  router_name,
const bool  overwrite,
const std::string &  hostname_override,
MySQLSession mysql,
mysql_harness::SocketOperationsBase socket_operations 
)

◆ register_router_v2()

uint32_t mysqlrouter::anonymous_namespace{cluster_metadata.cc}::register_router_v2 ( const std::string &  router_name,
const bool  overwrite,
const std::string &  hostname_override,
MySQLSession mysql,
mysql_harness::SocketOperationsBase socket_operations 
)

◆ to_string_md()

std::string mysqlrouter::anonymous_namespace{cluster_metadata.cc}::to_string_md ( const ClusterType  cluster_type)

◆ update_router_info_v1()

void mysqlrouter::anonymous_namespace{cluster_metadata.cc}::update_router_info_v1 ( const uint32_t  router_id,
const std::string &  rw_endpoint,
const std::string &  ro_endpoint,
const std::string &  rw_x_endpoint,
const std::string &  ro_x_endpoint,
const std::string &  username,
MySQLSession mysql 
)

◆ update_router_info_v2()

void mysqlrouter::anonymous_namespace{cluster_metadata.cc}::update_router_info_v2 ( const mysqlrouter::ClusterType  cluster_type,
const uint32_t  router_id,
const std::string &  cluster_id,
const std::string &  target_cluster,
const std::string &  rw_endpoint,
const std::string &  ro_endpoint,
const std::string &  rw_x_endpoint,
const std::string &  ro_x_endpoint,
const std::string &  username,
MySQLSession mysql 
)