MySQL 8.4.2
Source Code Documentation
|
Go to the source code of this file.
Macros | |
#define | PRIMARY_ELECTION_MEMBER_WEIGHT_VERSION 0x050720 |
The server version in which member weight was introduced. More... | |
#define | PRIMARY_ELECTION_LEGACY_ALGORITHM_VERSION 0x080013 |
The server version in which online leader elections were introduced. More... | |
Enumerations | |
enum | enum_primary_election_mode { SAFE_OLD_PRIMARY = 0 , UNSAFE_OLD_PRIMARY = 1 , DEAD_OLD_PRIMARY = 2 , LEGACY_ELECTION_PRIMARY = 3 , ELECTION_MODE_END = 4 } |
Enum for election types. More... | |
enum | enum_primary_election_error { PRIMARY_ELECTION_NO_ERROR = 0 , PRIMARY_ELECTION_NO_CANDIDATES_ERROR = 1 , PRIMARY_ELECTION_PROCESS_ERROR = 2 , PRIMARY_ELECTION_ERROR_END = 3 } |
Enum for election errors. More... | |
enum | enum_primary_election_primary_change_status { PRIMARY_CHANGE_INIT = 0 , PRIMARY_DID_CHANGE = 1 , PRIMARY_DID_CHANGE_WITH_ERROR , PRIMARY_DID_NOT_CHANGE_NO_CANDIDATE , PRIMARY_DID_NOT_CHANGE = 4 , PRIMARY_DID_NOT_CHANGE_PRIMARY_LEFT_FORCE_ELECTION_END } |
Enum for primary change status. More... | |
#define PRIMARY_ELECTION_LEGACY_ALGORITHM_VERSION 0x080013 |
The server version in which online leader elections were introduced.
#define PRIMARY_ELECTION_MEMBER_WEIGHT_VERSION 0x050720 |
The server version in which member weight was introduced.