MySQL 8.3.0
Source Code Documentation
group_replication_metadata.h File Reference
#include <cstdint>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  GroupReplicationMember
 

Namespaces

namespace  mysqlrouter
 

Functions

std::map< std::string, GroupReplicationMemberfetch_group_replication_members (mysqlrouter::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)