![]() |
MySQL 9.2.0
Source Code Documentation
|
Information about one server destination. More...
#include <routing_guidelines.h>
Public Attributes | |
std::string | label |
hostname:port as in the metadata More... | |
std::string | address |
address of the server More... | |
uint16_t | port {0} |
MySQL port number. More... | |
uint16_t | port_x {0} |
X protocol port number. More... | |
std::string | uuid |
@server_uuid of the server More... | |
uint32_t | version {0} |
server version in format 80401 for 8.4.1 More... | |
std::string | member_role |
PRIMARY, SECONDARY or READ_REPLICA, as reported by GR, empty string if not defined. More... | |
std::map< std::string, std::string, std::less<> > | tags |
user defined tags stored in the cluster metadata for that Server instance More... | |
std::string | cluster_name |
name of the cluster the server belongs to More... | |
std::string | cluster_set_name |
name of the ClusterSet the server belongs to More... | |
std::string | cluster_role |
PRIMARY or REPLICA depending on the role of the cluster in the ClusterSet, empty string if not defined. More... | |
bool | cluster_is_invalidated {false} |
Cluster containing this server is invalidated. More... | |
Information about one server destination.
std::string routing_guidelines::Server_info::address |
address of the server
bool routing_guidelines::Server_info::cluster_is_invalidated {false} |
Cluster containing this server is invalidated.
std::string routing_guidelines::Server_info::cluster_name |
name of the cluster the server belongs to
std::string routing_guidelines::Server_info::cluster_role |
PRIMARY or REPLICA depending on the role of the cluster in the ClusterSet, empty string if not defined.
std::string routing_guidelines::Server_info::cluster_set_name |
name of the ClusterSet the server belongs to
std::string routing_guidelines::Server_info::label |
hostname:port as in the metadata
std::string routing_guidelines::Server_info::member_role |
PRIMARY, SECONDARY or READ_REPLICA, as reported by GR, empty string if not defined.
uint16_t routing_guidelines::Server_info::port {0} |
MySQL port number.
uint16_t routing_guidelines::Server_info::port_x {0} |
X protocol port number.
std::map<std::string, std::string, std::less<> > routing_guidelines::Server_info::tags |
user defined tags stored in the cluster metadata for that Server instance
std::string routing_guidelines::Server_info::uuid |
@server_uuid of the server
uint32_t routing_guidelines::Server_info::version {0} |
server version in format 80401 for 8.4.1