24#ifndef RECOVERY_ENDPOINTS_INCLUDE 
   25#define RECOVERY_ENDPOINTS_INCLUDE 
   67  std::pair<enum_status, std::string> 
check(
const char *endpoints);
 
Validate advertised recovery endpoints.
Definition: recovery_endpoints.h:137
 
bool check(const char *endpoints, enum_log_context where)
Validate recovery endpoints and log errors if it fails.
Definition: recovery_endpoints.cc:362
 
Advertised_recovery_endpoints()
Advertised_recovery_endpoints constructor.
 
~Advertised_recovery_endpoints() override
Advertised_recovery_endpoints destructor.
 
enum_log_context
This enumeration describes which log context is being used.
Definition: recovery_endpoints.h:144
 
Validate donor recovery endpoints.
Definition: recovery_endpoints.h:174
 
~Donor_recovery_endpoints() override
Donor_recovery_endpoints destructor.
 
Donor_recovery_endpoints()
Donor_recovery_endpoints constructor.
 
Definition: member_info.h:81
 
Validate recovery endpoints.
Definition: recovery_endpoints.h:39
 
uint m_mysqld_admin_port
Mysql bind admin port.
Definition: recovery_endpoints.h:119
 
bool m_remote
Recovery endpoints are from donor.
Definition: recovery_endpoints.h:129
 
int hostname_check_and_log(std::string host, std::set< std::string > host_ips)
Validate if recovery endpoint is a host name.
Definition: recovery_endpoints.cc:181
 
void set_port_settings(uint mysqld_port, uint admin_port)
Set ports allowed on advertised recovery endpoints.
Definition: recovery_endpoints.cc:48
 
uint m_mysqld_port
Mysql bind port.
Definition: recovery_endpoints.h:114
 
std::vector< std::pair< std::string, uint > > m_endpoints
Advertised recovery valid endpoints.
Definition: recovery_endpoints.h:124
 
std::pair< enum_status, std::string > check(const char *endpoints)
Validate recovery endpoints and log errors if it fails.
Definition: recovery_endpoints.cc:233
 
std::vector< std::pair< std::string, uint > > get_endpoints()
Return recovery endpoints.
Definition: recovery_endpoints.cc:42
 
virtual ~Recovery_endpoints()
Recovery_endpoints destructor.
 
Recovery_endpoints()
Recovery_endpoints constructor.
Definition: recovery_endpoints.cc:37
 
enum_status
This enumeration describes error status.
Definition: recovery_endpoints.h:46
 
int local_interfaces_ips(std::set< std::string > &local_ips)
Retrieve from host all ip address.
Definition: recovery_endpoints.cc:66
 
Some integer typedefs for easier portability.
 
const char * host
Definition: mysqladmin.cc:66
 
uint mysqld_port
Definition: mysqld.cc:1359
 
static char * where
Definition: mysqldump.cc:153