24#ifndef GCS_VIEW_MODIFICATION_NOTIFIER_INCLUDE
25#define GCS_VIEW_MODIFICATION_NOTIFIER_INCLUDE
Definition: gcs_view_modification_notifier.h:36
Plugin_gcs_view_modification_notifier()
Definition: gcs_view_modification_notifier.cc:33
mysql_mutex_t wait_for_view_mutex
Definition: gcs_view_modification_notifier.h:104
void cancel_view_modification(int errnr=GROUP_REPLICATION_CONFIGURATION_ERROR)
Signals that a view modification has been cancelled.
Definition: gcs_view_modification_notifier.cc:68
mysql_cond_t wait_for_view_cond
Definition: gcs_view_modification_notifier.h:103
int get_error()
Get the error number that did happen on view modification.
Definition: gcs_view_modification_notifier.cc:114
bool wait_for_view_modification(long timeout=VIEW_MODIFICATION_TIMEOUT)
Method in which one waits for the view modification to end.
Definition: gcs_view_modification_notifier.cc:83
bool view_changing
Definition: gcs_view_modification_notifier.h:99
void start_view_modification()
Signals that a view modification is about to start.
Definition: gcs_view_modification_notifier.cc:46
virtual ~Plugin_gcs_view_modification_notifier()
Definition: gcs_view_modification_notifier.cc:41
int error
Definition: gcs_view_modification_notifier.h:101
bool is_view_modification_ongoing()
Checks if there is a view modification ongoing.
Definition: gcs_view_modification_notifier.cc:54
bool is_cancelled()
Check if view modification was cancelled.
Definition: gcs_view_modification_notifier.cc:78
bool cancelled_view_change
Definition: gcs_view_modification_notifier.h:100
void end_view_modification()
Signals that a view modification has ended.
Definition: gcs_view_modification_notifier.cc:61
static bool timeout(bool(*wait_condition)())
Timeout function.
Definition: log0meb.cc:496
#define VIEW_MODIFICATION_TIMEOUT
Definition: plugin_constants.h:50
#define GROUP_REPLICATION_CONFIGURATION_ERROR
Definition: plugin_constants.h:37
An instrumented cond structure.
Definition: mysql_cond_bits.h:50
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50