MySQL 8.3.0
Source Code Documentation
group_replication_metadata.cc File Reference
#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

std::map< std::string, GroupReplicationMemberfetch_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)
 

Function Documentation

◆ fetch_group_replication_members()

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

◆ to_string()

const char * to_string ( GroupReplicationMember::State  member_state)