MySQL 8.4.2
Source Code Documentation
Until_before_gtids Class Reference

It implements the logic of UNTIL SQL_BEFORE_GTIDS. More...

#include <rpl_replica_until_options.h>

Inheritance diagram for Until_before_gtids:
[legend]

Public Member Functions

 Until_before_gtids (Relay_log_info *rli)
 
- Public Member Functions inherited from Until_gtids
 ~Until_gtids () override=default
 
int init (const char *gtid_set_str)
 Initialize the until gtids 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
 

Additional Inherited Members

- Protected Member Functions inherited from Until_gtids
 Until_gtids (Relay_log_info *rli)
 
- Protected Member Functions inherited from Until_option
 Until_option (Relay_log_info *rli)
 
- Protected Attributes inherited from Until_gtids
Gtid_set m_gtids
 Stores the gtids of START REPLICA UNTIL SQL_*_GTIDS. More...
 
- Protected Attributes inherited from Until_option
Relay_log_infom_rli
 

Detailed Description

It implements the logic of UNTIL SQL_BEFORE_GTIDS.

Constructor & Destructor Documentation

◆ Until_before_gtids()

Until_before_gtids::Until_before_gtids ( Relay_log_info rli)
inline

Member Function Documentation

◆ check_after_dispatching_event()

bool Until_before_gtids::check_after_dispatching_event ( )
overrideprivatevirtual

Implements Until_option.

◆ check_all_transactions_read_from_relay_log()

bool Until_before_gtids::check_all_transactions_read_from_relay_log ( )
overrideprivatevirtual

Implements Until_option.

◆ check_at_start_slave()

bool Until_before_gtids::check_at_start_slave ( )
overrideprivatevirtual

Implements Until_option.

◆ check_before_dispatching_event()

bool Until_before_gtids::check_before_dispatching_event ( const Log_event ev)
overrideprivatevirtual

Implements Until_option.


The documentation for this class was generated from the following files: