24#ifndef PRIMARY_ELECTION_UTILS_INCLUDED
25#define PRIMARY_ELECTION_UTILS_INCLUDED
Definition: primary_election_utils.h:33
bool has_running_channels
Does the member has running channels.
Definition: primary_election_utils.h:95
std::string & get_uuid()
Definition: primary_election_utils.cc:40
bool is_primary()
Definition: primary_election_utils.cc:46
void set_information_set(bool set)
Set the flag that tells if this class was updated.
Definition: primary_election_utils.cc:58
void set_member_left(bool left)
Did the member left the group.
Definition: primary_election_utils.cc:60
std::string member_uuid
The member uuid.
Definition: primary_election_utils.h:89
bool has_member_left
Did the member leave?
Definition: primary_election_utils.h:97
Member_version & get_member_version()
Definition: primary_election_utils.cc:42
bool is_information_set()
Definition: primary_election_utils.cc:52
Member_version member_version
This member version.
Definition: primary_election_utils.h:91
bool is_member_primary
Is this member the primary.
Definition: primary_election_utils.h:93
bool has_channels()
Definition: primary_election_utils.cc:50
Election_member_info(const std::string uuid, const Member_version &version, bool is_primary)
Definition: primary_election_utils.cc:30
bool info_is_set
Was the info for this member set.
Definition: primary_election_utils.h:99
bool member_left()
Definition: primary_election_utils.cc:48
void set_has_running_channels(bool running_channels)
Set the flag that tells if the member has channels.
Definition: primary_election_utils.cc:54
represent the MySQL version of a Member within the Group Replication group.
Definition: member_version.h:35
This is the base GCS plugin message.
Definition: gcs_plugin_messages.h:64
std::set< Key, Compare, ut::allocator< Key > > set
Specialization of set which uses ut_allocator.
Definition: ut0new.h:2882
void kill_transactions_and_leave_on_election_error(std::string &err_msg)
Kill transactions and enable super_read_only mode.
Definition: primary_election_utils.cc:74
bool send_message(Plugin_gcs_message *message)
Definition: primary_election_utils.cc:64
required uint64 version
Definition: replication_group_member_actions.proto:41