MySQL 8.0.39
Source Code Documentation
|
#include "plugin/group_replication/include/plugin_handlers/primary_election_invocation_handler.h"
#include "plugin/group_replication/include/plugin.h"
#include "plugin/group_replication/include/plugin_handlers/member_actions_handler.h"
#include "plugin/group_replication/include/plugin_handlers/primary_election_utils.h"
#include "plugin/group_replication/include/services/system_variable/get_system_variable.h"
Functions | |
Group_member_info_list_iterator | sort_and_get_lowest_version_member_position (Group_member_info_list *all_members_info) |
Sort members based on member_version and get first iterator position where member version differs. More... | |
void | sort_members_for_election (Group_member_info_list *all_members_info, Group_member_info_list_iterator lowest_version_end) |
Sort lower version members based on member weight if member version is greater than equal to PRIMARY_ELECTION_MEMBER_WEIGHT_VERSION or uuid. More... | |
Group_member_info_list_iterator sort_and_get_lowest_version_member_position | ( | Group_member_info_list * | all_members_info | ) |
Sort members based on member_version and get first iterator position where member version differs.
all_members_info | the vector with members info |
void sort_members_for_election | ( | Group_member_info_list * | all_members_info, |
Group_member_info_list_iterator | lowest_version_end | ||
) |
Sort lower version members based on member weight if member version is greater than equal to PRIMARY_ELECTION_MEMBER_WEIGHT_VERSION or uuid.
all_members_info | the vector with members info |
lowest_version_end | first iterator position where members version increases. |