MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
routing_guidelines::Server_info Struct Reference

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...
 

Detailed Description

Information about one server destination.

Member Data Documentation

◆ address

std::string routing_guidelines::Server_info::address

address of the server

◆ cluster_is_invalidated

bool routing_guidelines::Server_info::cluster_is_invalidated {false}

Cluster containing this server is invalidated.

◆ cluster_name

std::string routing_guidelines::Server_info::cluster_name

name of the cluster the server belongs to

◆ cluster_role

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.

◆ cluster_set_name

std::string routing_guidelines::Server_info::cluster_set_name

name of the ClusterSet the server belongs to

◆ label

std::string routing_guidelines::Server_info::label

hostname:port as in the metadata

◆ member_role

std::string routing_guidelines::Server_info::member_role

PRIMARY, SECONDARY or READ_REPLICA, as reported by GR, empty string if not defined.

◆ port

uint16_t routing_guidelines::Server_info::port {0}

MySQL port number.

◆ port_x

uint16_t routing_guidelines::Server_info::port_x {0}

X protocol port number.

◆ tags

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

◆ uuid

std::string routing_guidelines::Server_info::uuid

@server_uuid of the server

◆ version

uint32_t routing_guidelines::Server_info::version {0}

server version in format 80401 for 8.4.1


The documentation for this struct was generated from the following file: