24#ifndef SQL_THREAD_APPLIER_INCLUDE
25#define SQL_THREAD_APPLIER_INCLUDE
137 bool update_THD_status =
true);
Definition: applier_handler.h:33
bool is_applier_thread_waiting()
Checks if the applier, and its workers when parallel applier is enabled, has already consumed all rel...
Definition: applier_handler.cc:210
int handle_applier_event(Pipeline_event *pevent, Continuation *cont)
This method handles applier context events by storing them so they can be used on next handler.
Definition: applier_handler.cc:163
int handle_action(Pipeline_action *action) override
Handling of an action as defined in the handler implementation.
Definition: applier_handler.cc:168
int stop_applier_thread()
Stops the SQL thread when receiving a action package.
Definition: applier_handler.cc:95
int terminate() override
Terminate the execution as defined in the handler implementation.
Definition: applier_handler.cc:39
int is_partial_transaction_on_relay_log()
Checks if the channel's relay log contains partial transaction.
Definition: applier_handler.cc:237
int initialize() override
Initialization as defined in the handler implementation.
Definition: applier_handler.cc:34
int handle_event(Pipeline_event *ev, Continuation *cont) override
Handling of an event as defined in the handler implementation.
Definition: applier_handler.cc:110
int start_applier_thread()
Starts the SQL thread when receiving a action package.
Definition: applier_handler.cc:84
Replication_thread_api channel_interface
Definition: applier_handler.h:148
int get_role() override
This method returns the handler role.
Definition: applier_handler.cc:208
int wait_for_gtid_execution(double timeout)
Checks if all the queued transactions were executed.
Definition: applier_handler.cc:218
int initialize_repositories(bool reset_logs, ulong plugin_shutdown_timeout)
Initializes the SQL thread when receiving a configuration package.
Definition: applier_handler.cc:44
bool is_unique() override
This method identifies the handler as being unique.
Definition: applier_handler.cc:206
int handle_binary_log_event(Pipeline_event *pevent, Continuation *cont)
This method handles binary log events by storing them so they can be used on next handler.
Definition: applier_handler.cc:127
Class used to wait on the execution of some action.
Definition: pipeline_interfaces.h:536
Interface for the application of events, them being packets or log events.
Definition: pipeline_interfaces.h:663
A wrapper for pipeline actions.
Definition: pipeline_interfaces.h:633
A wrapper for log events/packets.
Definition: pipeline_interfaces.h:167
Definition: replication_threads_api.h:37
Some integer typedefs for easier portability.
static bool timeout(bool(*wait_condition)())
Timeout function.
Definition: log0meb.cc:498
repeated Action action
Definition: replication_group_member_actions.proto:43