MySQL 9.1.0
Source Code Documentation
|
A service to get the status of a member of Group Replication. More...
#include <group_replication_status_service.h>
Public Attributes | |
mysql_service_status_t(* | is_group_in_single_primary_mode )() |
Checks if this member is part of a group in single-primary mode. More... | |
mysql_service_status_t(* | is_group_in_single_primary_mode_and_im_the_primary )() |
Checks if this member is part of a group in single-primary mode and if this member is the primary. More... | |
mysql_service_status_t(* | is_group_in_single_primary_mode_and_im_a_secondary )() |
Checks if this member is part of a group in single-primary mode and if this member is a secondary. More... | |
mysql_service_status_t(* | is_member_online_with_group_majority )() |
Checks if this member is ONLINE and part of the group majority. More... | |
A service to get the status of a member of Group Replication.
This is only available if the component is on a server with Group Replication plugin installed.
mysql_service_status_t(* s_mysql_group_replication_status_service_v1::is_group_in_single_primary_mode) () |
Checks if this member is part of a group in single-primary mode.
true | this member is part of a group in single-primary mode |
false | otherwise (including case where member is even not running Group Replication) |
mysql_service_status_t(* s_mysql_group_replication_status_service_v1::is_group_in_single_primary_mode_and_im_a_secondary) () |
Checks if this member is part of a group in single-primary mode and if this member is a secondary.
true | this member is part of a group in single-primary mode and is a secondary |
false | otherwise |
mysql_service_status_t(* s_mysql_group_replication_status_service_v1::is_group_in_single_primary_mode_and_im_the_primary) () |
Checks if this member is part of a group in single-primary mode and if this member is the primary.
true | this member is part of a group in single-primary mode and is the primary |
false | otherwise |
mysql_service_status_t(* s_mysql_group_replication_status_service_v1::is_member_online_with_group_majority) () |
Checks if this member is ONLINE and part of the group majority.
true | this member is ONLINE and part of the group majority |
false | otherwise |