26#ifndef METADATA_CACHE_CLUSTER_METADATA_INCLUDED
27#define METADATA_CACHE_CLUSTER_METADATA_INCLUDED
97 &metadata_server)
noexcept override;
109 return metadata_connection_;
114 const unsigned router_id,
119 const unsigned router_id)
override;
124 std::optional<metadata_cache::metadata_server_t> find_rw_server(
125 const std::vector<metadata_cache::ManagedInstance> &instances);
127 std::optional<metadata_cache::metadata_server_t> find_rw_server(
128 const std::vector<metadata_cache::ManagedCluster> &clusters);
130 std::optional<std::chrono::seconds>
155 int connection_attempts_;
163std::string
as_string(
const char *input_str);
167 const size_t classic_port_column,
168 const size_t x_port_column);
171 const std::string &attributes);
173bool get_hidden(
const std::string &attributes, std::string &out_warning);
175 std::string &out_warning);
Defines an IP address with port number
Definition: tcp_address.h:40
Definition: mysql_session.h:153
std::vector< const char * > Row
Definition: mysql_session.h:157
Definition: cluster_metadata.h:161
mysql_ssl_mode
Definition: mysql.h:271
static void do_connect(struct st_command *command)
Definition: mysqltest.cc:6631
Definition: cluster_metadata.h:50
Definition: group_replication_metadata.h:38
SSL connection related options.
Definition: datatypes.h:39