26#ifndef METADATA_CACHE_CLUSTER_METADATA_GR_INCLUDED
27#define METADATA_CACHE_CLUSTER_METADATA_GR_INCLUDED
57 const bool use_cluster_notifications =
false);
91 const std::atomic<bool> &terminated,
94 bool needs_writable_node,
const std::string &clusterset_id,
95 bool whole_topology, std::size_t &instance_id)
override;
108 if (gr_notifications_listener_)
109 gr_notifications_listener_->setup(cluster_topology, callback);
115 gr_notifications_listener_.reset();
144 const std::string &cluster_type_specific_id);
157 void update_cluster_status_from_gr(
158 const bool unreachable_quorum_allowed_traffic,
162 std::vector<metadata_cache::ManagedInstance *> &instances,
163 const std::map<std::string, GroupReplicationMember> &member_status,
164 bool &metadata_gr_discrepancy)
const noexcept;
171 unsigned int router_id);
std::function< void()> NotificationClb
Definition: gr_notifications_listener.h:43
Defines an IP address with port number
Definition: tcp_address.h:40
Definition: cluster_metadata.h:159
Definition: expected.h:286
ClusterType
Definition: cluster_metadata.h:140
required uint64 version
Definition: replication_group_member_actions.proto:41
required string type
Definition: replication_group_member_actions.proto:34
Definition: group_replication_metadata.h:38
SSL connection related options.
Definition: datatypes.h:34