MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
s_mysql_group_replication_primary_election Struct Reference

#include <group_replication_elect_prefers_most_updated.h>

Public Attributes

mysql_service_status_t(* update_primary_election_status )(char *timestamp, uint64_t transactions_delta)
 This function SHALL be called whenever the caller wants to update last time most uptodate method was used to order a list of members to select new primary. More...
 

Member Data Documentation

◆ update_primary_election_status

mysql_service_status_t(* s_mysql_group_replication_primary_election::update_primary_election_status)(char *timestamp, uint64_t transactions_delta)

This function SHALL be called whenever the caller wants to update last time most uptodate method was used to order a list of members to select new primary.

Members of the group will be ordered by number of transactions applied, following by weight and lexical order.

Parameters
[in]timestampString representation of time last change
[in]transactions_deltaMembers delta on transactions applied
Returns
false success, true on failure.

The documentation for this struct was generated from the following files: