MySQL  8.0.22
Source Code Documentation
rpl_group_replication.h
Go to the documentation of this file.
1 /* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License, version 2.0,
5  as published by the Free Software Foundation.
6 
7  This program is also distributed with certain software (including
8  but not limited to OpenSSL) that is licensed under separate terms,
9  as designated in a particular file or component or in included license
10  documentation. The authors of MySQL hereby grant you an additional
11  permission to link the program and your derivative works with the
12  separately licensed software that they have included with MySQL.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License, version 2.0, for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22 
23 #ifndef RPL_GROUP_REPLICATION_INCLUDED
24 #define RPL_GROUP_REPLICATION_INCLUDED
25 
26 class THD;
31 
32 /*
33  Group Replication plugin handler function accessors.
34 */
36 
37 int group_replication_start(char **error_message, THD *thd);
38 int group_replication_stop(char **error_message);
42  View_change_log_event *view_change_event);
43 
47  unsigned int index,
50  unsigned int index,
53 
54 #endif /* RPL_GROUP_REPLICATION_INCLUDED */
int group_replication_stop(char **error_message)
Definition: rpl_group_replication.cc:206
This is the subclass of View_change_log_event and Log_event This class created the view_change_log_ev...
Definition: log_event.h:4249
bool is_group_replication_cloning()
Definition: rpl_group_replication.cc:251
Definition: plugin_group_replication.h:53
bool get_group_replication_group_members_info(unsigned int index, const GROUP_REPLICATION_GROUP_MEMBERS_CALLBACKS &callbacks)
Definition: rpl_group_replication.cc:301
unsigned int get_group_replication_members_number_info()
Definition: rpl_group_replication.cc:337
bool is_group_replication_running()
Definition: rpl_group_replication.cc:235
int set_group_replication_retrieved_certification_info(View_change_log_event *view_change_event)
Definition: rpl_group_replication.cc:267
Definition: plugin_group_replication.h:72
Definition: plugin_group_replication.h:97
bool is_group_replication_plugin_loaded()
Definition: rpl_group_replication.cc:105
static const sasl_callback_t callbacks[]
Definition: auth_ldap_sasl_client.h:44
int group_replication_start(char **error_message, THD *thd)
Definition: rpl_group_replication.cc:119
bool get_group_replication_connection_status_info(const GROUP_REPLICATION_CONNECTION_STATUS_CALLBACKS &callbacks)
Definition: rpl_group_replication.cc:284
bool get_group_replication_group_member_stats_info(unsigned int index, const GROUP_REPLICATION_GROUP_MEMBER_STATS_CALLBACKS &callbacks)
Definition: rpl_group_replication.cc:319
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_class.h:803