MySQL 9.1.0
Source Code Documentation
|
Represents a cluster (a GR group or AR members) and its metadata servers. More...
#include <metadata_cache_datatypes.h>
Public Types | |
using | clusters_list_t = std::vector< ManagedCluster > |
Public Member Functions | |
cluster_nodes_list_t | get_all_members () const |
void | clear_all_members () |
Public Attributes | |
clusters_list_t | clusters_data |
std::optional< size_t > | target_cluster_pos {} |
metadata_servers_list_t | metadata_servers |
uint64_t | view_id {0} |
Id of the view this metadata represents (used for AR and ClusterSets) More... | |
std::string | name {} |
name of the ClusterSet or empty in case of standalone Cluster More... | |
std::optional< metadata_cache::metadata_server_t > | writable_server {} |
Represents a cluster (a GR group or AR members) and its metadata servers.
using metadata_cache::ClusterTopology::clusters_list_t = std::vector<ManagedCluster> |
|
inline |
|
inline |
clusters_list_t metadata_cache::ClusterTopology::clusters_data |
metadata_servers_list_t metadata_cache::ClusterTopology::metadata_servers |
std::string metadata_cache::ClusterTopology::name {} |
name of the ClusterSet or empty in case of standalone Cluster
std::optional<size_t> metadata_cache::ClusterTopology::target_cluster_pos {} |
uint64_t metadata_cache::ClusterTopology::view_id {0} |
Id of the view this metadata represents (used for AR and ClusterSets)
std::optional<metadata_cache::metadata_server_t> metadata_cache::ClusterTopology::writable_server {} |