MySQL 9.1.0
Source Code Documentation
|
#include "group_replication_metadata.h"
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include "mysql/harness/logging/logging.h"
#include "mysqlrouter/metadata_cache.h"
#include "mysqlrouter/mysql_session.h"
Functions | |
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
const char * to_string | ( | GroupReplicationMember::State | member_state | ) |