![]() |
MySQL 8.0.43
Source Code Documentation
|
#include "group_replication_metadata.h"#include <cassert>#include <cstdlib>#include <cstring>#include <memory>#include <sstream>#include "mysql/harness/logging/logging.h"#include "mysqlrouter/metadata_cache.h"#include "mysqlrouter/mysql_session.h"Functions | |
| static std::string | find_group_replication_primary_member (MySQLSession &connection) |
| std::map< std::string, GroupReplicationMember > | fetch_group_replication_members (MySQLSession &connection, bool &single_primary) |
| Fetches the list of group replication members known to the instance of the given connection. More... | |
| const char * | to_string (GroupReplicationMember::State member_state) |
| std::map< std::string, GroupReplicationMember > fetch_group_replication_members | ( | mysqlrouter::MySQLSession & | connection, |
| bool & | single_primary | ||
| ) |
Fetches the list of group replication members known to the instance of the given connection.
throws metadata_cache::metadata_error
|
static |
| const char * to_string | ( | GroupReplicationMember::State | member_state | ) |