MySQL 9.1.0
Source Code Documentation
|
It implements the logic for UNTIL VIEW_ID. More...
#include <rpl_replica_until_options.h>
Public Member Functions | |
Until_view_id (Relay_log_info *rli) | |
int | init (const char *view_id) |
Initialize the view_id when starting the slave. More... | |
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 |
Private Attributes | |
std::string | m_view_id |
bool | until_view_id_found |
bool | until_view_id_commit_found |
Additional Inherited Members | |
Protected Member Functions inherited from Until_option | |
Until_option (Relay_log_info *rli) | |
Protected Attributes inherited from Until_option | |
Relay_log_info * | m_rli |
It implements the logic for UNTIL VIEW_ID.
|
inline |
|
overrideprivatevirtual |
Implements Until_option.
|
overrideprivatevirtual |
Implements Until_option.
|
overrideprivatevirtual |
Implements Until_option.
|
overrideprivatevirtual |
Implements Until_option.
int Until_view_id::init | ( | const char * | view_id | ) |
Initialize the view_id when starting the slave.
[in] | view_id | the view_id in START REPLICA UNTIO option. |
0 | if succeeds. |
a | defined mysql error number if error happens. |
|
private |
|
private |
|
private |