41#define CHANNEL_NAME_LENGTH NAME_LEN
70#ifdef HAVE_PSI_INTERFACE
114 return (
handler->update_is_transactional());
118 return (
handler->get_description_info());
182 uint param_id,
const char *param_channel);
Definition: rpl_info_handler.h:58
Definition: rpl_info.h:43
PSI_mutex_key * key_info_sleep_cond
Definition: rpl_info.h:75
virtual bool set_info_search_keys(Rpl_info_handler *to)=0
To search in the slave repositories, each slave info object (mi, rli or worker) should use a primary ...
char * get_description_info() const
Definition: rpl_info.h:117
Rpl_info_handler * handler
Pointer to the repository's handler.
Definition: rpl_info.h:149
Rpl_info(const char *type, PSI_mutex_key *param_key_info_run_lock, PSI_mutex_key *param_key_info_data_lock, PSI_mutex_key *param_key_info_sleep_lock, PSI_mutex_key *param_key_info_thd_lock, PSI_mutex_key *param_key_info_data_cond, PSI_mutex_key *param_key_info_start_cond, PSI_mutex_key *param_key_info_stop_cond, PSI_mutex_key *param_key_info_sleep_cond, uint param_id, const char *param_channel)
Definition: rpl_info.cc:31
~Rpl_info() override
Definition: rpl_info.cc:88
Rpl_info & operator=(const Rpl_info &info)
std::atomic< bool > abort_slave
Definition: rpl_info.h:81
void set_rpl_info_handler(Rpl_info_handler *param_handler)
Sets the persistency component/handler.
Definition: rpl_info.h:94
PSI_mutex_key * key_info_sleep_lock
Definition: rpl_info.h:71
uint internal_id
Uniquely and internally identifies an info entry (.e.g.
Definition: rpl_info.h:163
virtual bool read_info(Rpl_info_handler *from)=0
bool inited
Definition: rpl_info.h:80
mysql_cond_t sleep_cond
Definition: rpl_info.h:68
mysql_mutex_t info_thd_lock
Definition: rpl_info.h:58
char * get_channel() const
Definition: rpl_info.h:129
bool copy_info(Rpl_info_handler *from, Rpl_info_handler *to)
Definition: rpl_info.h:121
mysql_cond_t start_cond
Definition: rpl_info.h:68
std::atomic< bool > atomic_is_stopping
Definition: rpl_info.h:193
int remove_info()
Definition: rpl_info.h:107
PSI_mutex_key * key_info_run_lock
Definition: rpl_info.h:71
std::atomic< ulong > slave_run_id
Definition: rpl_info.h:83
Rpl_info(const Rpl_info &info)
PSI_mutex_key * key_info_stop_cond
Definition: rpl_info.h:74
Rpl_info_handler * get_rpl_info_handler()
Gets the persistency component/handler.
Definition: rpl_info.h:103
mysql_mutex_t sleep_lock
Definition: rpl_info.h:58
bool update_is_transactional()
Definition: rpl_info.h:113
mysql_cond_t data_cond
Definition: rpl_info.h:68
PSI_mutex_key * key_info_start_cond
Definition: rpl_info.h:74
mysql_mutex_t run_lock
Definition: rpl_info.h:58
uint get_internal_id() const
Definition: rpl_info.h:127
mysql_mutex_t data_lock
Definition: rpl_info.h:58
bool is_transactional() const
Definition: rpl_info.h:111
mysql_cond_t stop_cond
Definition: rpl_info.h:68
PSI_mutex_key * key_info_data_lock
Definition: rpl_info.h:71
PSI_mutex_key * key_info_thd_lock
Definition: rpl_info.h:72
char channel[CHANNEL_NAME_LENGTH+1]
Every slave info object acts on a particular channel in Multisource Replication.
Definition: rpl_info.h:169
PSI_mutex_key * key_info_data_cond
Definition: rpl_info.h:74
std::atomic< uint > slave_running
Definition: rpl_info.h:82
int events_until_exit
Definition: rpl_info.h:86
THD * info_thd
Definition: rpl_info.h:78
int clean_info()
Definition: rpl_info.h:109
enum_return_check check_info() const
Definition: rpl_info.h:105
virtual bool write_info(Rpl_info_handler *to)=0
Mix-in to handle the message logging and reporting for relay log info and master log info structures.
Definition: rpl_reporting.h:53
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
The handler class is the interface for dynamically loadable storage engines.
Definition: handler.h:4412
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:52
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
#define HAVE_PSI_INTERFACE
Definition: my_psi_config.h:39
Common definition between mysql server & client.
Instrumentation helpers for conditions.
ABI for instrumented mutexes.
Instrumentation helpers for mutexes.
required string type
Definition: replication_group_member_actions.proto:34
#define CHANNEL_NAME_LENGTH
Definition: rpl_info.h:41
enum_return_check
Definition: rpl_info_handler.h:51
An instrumented cond structure.
Definition: mysql_cond_bits.h:50
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50
unsigned int uint
Definition: uca9-dump.cc:75