MySQL 9.0.0
Source Code Documentation
|
Helper class used to initialize the replica (includes init_replica()) More...
#include <rpl_replica.h>
Public Member Functions | |
ReplicaInitializer (bool opt_initialize, bool opt_skip_replica_start, Rpl_channel_filters &filters, char **replica_skip_erors) | |
Constructor, calls init_replica() More... | |
int | get_initialization_code () const |
Gets initialization code set-up at replica initialization. More... | |
Private Member Functions | |
void | start_replication_threads (bool skip_replica_start=true) |
This function starts replication threads. More... | |
int | init_replica () |
Performs replica initialization, creates default replication channel and sets channel filters. More... | |
void | print_channel_info () const |
In case debug mode is on, prints channel information. More... | |
void | start_threads () |
This function starts replication threads. More... | |
Static Private Member Functions | |
static void | init_replica_psi_keys () |
Initializes replica PSI keys in case PSI interface is available. More... | |
Private Attributes | |
bool | m_opt_initialize_replica |
Indicates whether to initialize replica. More... | |
bool | m_opt_skip_replica_start |
Indicates whether replica threads should be started or not. More... | |
int | m_init_code = 0 |
Replica initialization error code. More... | |
int | m_thread_mask = 0 |
Thread mask indicating type of the thread. More... | |
Helper class used to initialize the replica (includes init_replica())
init_replica is called once during the mysqld start-up
|
private |
Replica initialization error code.
|
private |
Indicates whether to initialize replica.
|
private |
Indicates whether replica threads should be started or not.
|
private |
Thread mask indicating type of the thread.