MySQL 9.0.0
Source Code Documentation
Until_mts_gap Class Reference

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

#include <rpl_replica_until_options.h>

Inheritance diagram for Until_mts_gap:
[legend]

Public Member Functions

 Until_mts_gap (Relay_log_info *rli)
 
void init ()
 Initialize it 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_option
 Until_option (Relay_log_info *rli)
 
- Protected Attributes inherited from Until_option
Relay_log_infom_rli
 

Detailed Description

It implements the logic of UNTIL SQL_AFTER_MTS_GAP.

Constructor & Destructor Documentation

◆ Until_mts_gap()

Until_mts_gap::Until_mts_gap ( Relay_log_info rli)
inline

Member Function Documentation

◆ check_after_dispatching_event()

bool Until_mts_gap::check_after_dispatching_event ( )
overrideprivatevirtual

Implements Until_option.

◆ check_all_transactions_read_from_relay_log()

bool Until_mts_gap::check_all_transactions_read_from_relay_log ( )
overrideprivatevirtual

Implements Until_option.

◆ check_at_start_slave()

bool Until_mts_gap::check_at_start_slave ( )
overrideprivatevirtual

Implements Until_option.

◆ check_before_dispatching_event()

bool Until_mts_gap::check_before_dispatching_event ( const Log_event ev)
overrideprivatevirtual

Implements Until_option.

◆ init()

void Until_mts_gap::init ( )

Initialize it when starting the slave.


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