![]() |
MySQL 8.0.43
Source Code Documentation
|
#include "metadata_cache.h"#include <cassert>#include <cmath>#include <memory>#include <stdexcept>#include <vector>#include "my_thread.h"#include "mysql/harness/event_state_tracker.h"#include "mysql/harness/logging/logging.h"#include "mysql/harness/plugin.h"#include "mysqld_error.h"#include "mysqlrouter/mysql_client_thread_token.h"#include "mysqlrouter/mysql_session.h"Namespaces | |
| namespace | metadata_cache |
Functions | |
| bool | metadata_cache::operator== (const metadata_cache::ManagedCluster &cluster_a, const metadata_cache::ManagedCluster &cluster_b) |
| bool | metadata_cache::operator!= (const metadata_cache::ManagedCluster &cluster_a, const metadata_cache::ManagedCluster &cluster_b) |
| bool | metadata_cache::operator== (const metadata_cache::ClusterTopology &a, const metadata_cache::ClusterTopology &b) |
| bool | metadata_cache::operator!= (const metadata_cache::ClusterTopology &a, const metadata_cache::ClusterTopology &b) |
| std::string | to_string (metadata_cache::ServerMode mode) |
| std::string | get_hidden_info (const metadata_cache::ManagedInstance &instance) |
| Gets user readable information string about the nodes attributes related to _hidden and _disconnect_existing_sessions_when_hidden tags. More... | |
| static bool | primary_has_changed (const std::vector< metadata_cache::ManagedInstance > &members, const std::string &primary_server_uuid) |
| check if primary has changed. More... | |
| std::string get_hidden_info | ( | const metadata_cache::ManagedInstance & | instance | ) |
Gets user readable information string about the nodes attributes related to _hidden and _disconnect_existing_sessions_when_hidden tags.
|
static |
check if primary has changed.
| members | container current membership info |
| primary_server_uuid | server-uuid of the previous PRIMARY |
| std::string to_string | ( | metadata_cache::ServerMode | mode | ) |