MySQL 8.4.2
Source Code Documentation
|
It is for UNTIL relay_log_file and relay_log_pos. More...
#include <rpl_replica_until_options.h>
Public Member Functions | |
Until_relay_position (Relay_log_info *rli) | |
Public Member Functions inherited from Until_position | |
~Until_position () override=default | |
int | init (const char *log_name, my_off_t log_pos) |
Initialize the until position when starting the slave. More... | |
void | notify_log_name_change () |
Coordinator calls this function to notify that master log switch or relay log switch. More... | |
const char * | get_until_log_name () |
my_off_t | get_until_log_pos () |
Public Member Functions inherited from Until_option | |
virtual | ~Until_option ()=default |
bool | is_satisfied_at_start_slave () |
Check if the until option is already satisfied at coordinator starting. More... | |
bool | is_satisfied_before_dispatching_event (const Log_event *ev) |
check if the until option is satisfied before applying or dispatching a event. More... | |
bool | is_satisfied_after_dispatching_event () |
check if the until option is satisfied after applied or dispatched a event. More... | |
bool | is_satisfied_all_transactions_read_from_relay_log () |
check if the until option is waiting for more transactions to be read from the relay log. More... | |
Private Member Functions | |
bool | check_at_start_slave () override |
bool | check_before_dispatching_event (const Log_event *ev) override |
bool | check_after_dispatching_event () override |
bool | check_all_transactions_read_from_relay_log () override |
Additional Inherited Members | |
Protected Types inherited from Until_position | |
enum | { LOG_NAMES_CMP_UNKNOWN = -2 , LOG_NAMES_CMP_LESS = -1 , LOG_NAMES_CMP_EQUAL = 0 , LOG_NAMES_CMP_GREATER = 1 } |
Log name is compared only once for each master log or relay log. More... | |
Protected Member Functions inherited from Until_position | |
Until_position (Relay_log_info *rli) | |
bool | check_position (const char *log_name, my_off_t log_pos) |
Check if until position is satisfied. More... | |
Protected Member Functions inherited from Until_option | |
Until_option (Relay_log_info *rli) | |
Protected Attributes inherited from Until_position | |
enum Until_position:: { ... } | m_log_names_cmp_result |
Log name is compared only once for each master log or relay log. More... | |
Protected Attributes inherited from Until_option | |
Relay_log_info * | m_rli |
It is for UNTIL relay_log_file and relay_log_pos.
|
inline |
|
overrideprivatevirtual |
Implements Until_option.
|
overrideprivatevirtual |
Implements Until_option.
|
overrideprivatevirtual |
Implements Until_option.
|
overrideprivatevirtual |
Implements Until_option.