24#ifndef MEMBER_ACTIONS_HANDLER_CONFIGURATION_INCLUDED
25#define MEMBER_ACTIONS_HANDLER_CONFIGURATION_INCLUDED
27#include "plugin/group_replication/generated/protobuf_lite/replication_group_member_actions.pb.h"
64 const std::string &
event,
79 const std::string &
event);
97 bool set_force_update);
188 bool ignore_version,
bool ignore_global_read_lock);
Interface for configuration propagation through Member_actions_handler.
Definition: configuration_propagation.h:33
The member actions table configuration abstraction layer.
Definition: member_actions_handler_configuration.h:36
virtual ~Member_actions_handler_configuration()
Definition: member_actions_handler_configuration.cc:44
Member_actions_handler_configuration(Configuration_propagation *configuration_propagation)
Constructor.
Definition: member_actions_handler_configuration.cc:40
const std::string s_table_name
Definition: member_actions_handler_configuration.h:191
std::pair< bool, std::string > commit_and_propagate_changes(Rpl_sys_table_access &table_op)
Commit and propagate the local member actions configuration.
Definition: member_actions_handler_configuration.cc:132
bool reset_to_default_actions_configuration()
Reset member actions to the default configuration.
Definition: member_actions_handler_configuration.cc:439
bool get_all_actions(std::string &serialized_configuration, bool set_force_update)
Retrieve member actions configuration in the serialized format.
Definition: member_actions_handler_configuration.cc:222
void field_store(Field *field, const std::string &value)
Definition: member_actions_handler_configuration.cc:28
bool replace_all_actions(const protobuf_replication_group_member_actions::ActionList &action_list)
Replace member actions configuration with a given configuration, even if the given configuration has ...
Definition: member_actions_handler_configuration.cc:306
bool get_actions_for_event(protobuf_replication_group_member_actions::ActionList &action_list, const std::string &event)
Retrieve member actions configured to trigger on a given event.
Definition: member_actions_handler_configuration.cc:164
Configuration_propagation * m_configuration_propagation
The pointer to the object to call to propagate configuration.
Definition: member_actions_handler_configuration.h:197
const std::string s_schema_name
Definition: member_actions_handler_configuration.h:190
bool get_all_actions_internal(Rpl_sys_table_access &table_op, protobuf_replication_group_member_actions::ActionList &action_list)
Retrieve member actions configuration in the serialized format.
Definition: member_actions_handler_configuration.cc:247
bool update_all_actions_internal(const protobuf_replication_group_member_actions::ActionList &action_list, bool ignore_version, bool ignore_global_read_lock)
Update member actions configuration with a given configuration.
Definition: member_actions_handler_configuration.cc:312
bool update_all_actions(const protobuf_replication_group_member_actions::ActionList &action_list)
Update member actions configuration with a given configuration.
Definition: member_actions_handler_configuration.cc:300
std::pair< bool, std::string > enable_disable_action(const std::string &name, const std::string &event, bool enable)
Enable/disable a member action.
Definition: member_actions_handler_configuration.cc:47
const uint s_fields_number
Definition: member_actions_handler_configuration.h:192
The class are wrappers for handler index and random scan functions to simplify their usage.
Definition: rpl_sys_table_access.h:45
message ActionList
Definition: replication_group_member_actions.proto:39
required string event
Definition: replication_group_member_actions.proto:32
case opt name
Definition: sslopt-case.h:29