25#ifndef SEMISYNC_REPLICA_H
26#define SEMISYNC_REPLICA_H
63 bool *need_reply,
const char **payload,
64 unsigned long *payload_len);
Base class for semi-sync master and slave classes.
Definition: semisync.h:83
The extension class for the slave of semi-synchronous replication.
Definition: semisync_replica.h:34
int slaveReadSyncHeader(const char *header, unsigned long total_len, bool *need_reply, const char **payload, unsigned long *payload_len)
Definition: semisync_replica.cc:57
bool getSlaveEnabled()
Definition: semisync_replica.h:46
MYSQL * mysql_reply
Definition: semisync_replica.h:88
void setSlaveEnabled(bool enabled)
Definition: semisync_replica.h:47
int slaveStop(Binlog_relay_IO_param *param)
Definition: semisync_replica.cc:96
bool init_done_
Definition: semisync_replica.h:86
int slaveStart(Binlog_relay_IO_param *param)
Definition: semisync_replica.cc:82
int initObject()
Definition: semisync_replica.cc:40
void setTraceLevel(unsigned long trace_level)
Definition: semisync_replica.h:39
bool slave_enabled_
Definition: semisync_replica.h:87
~ReplSemiSyncSlave()=default
int slaveReply(MYSQL *mysql, const char *binlog_filename, my_off_t binlog_filepos)
Definition: semisync_replica.cc:103
ReplSemiSyncSlave()
Definition: semisync_replica.h:36
unsigned long trace_level_
Definition: semisync.h:50
Some integer typedefs for easier portability.
ulonglong my_off_t
Definition: my_inttypes.h:72
Definition: instrumented_condition_variable.h:32
required bool enabled
Definition: replication_group_member_actions.proto:33
unsigned long rpl_semi_sync_replica_trace_level
Definition: semisync_replica.cc:38
bool rpl_semi_sync_replica_enabled
Definition: semisync_replica.cc:36
char rpl_semi_sync_replica_status
Definition: semisync_replica.cc:37
Replication binlog relay IO observer parameter.
Definition: replication.h:602