diff options
author | Leandro Pacheco <leandro.pacheco@galeracluster.com> | 2021-07-20 12:45:00 -0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2021-07-27 08:11:41 +0300 |
commit | 2b84e1c9667df5ff9a7b1f4da934e57490b32630 (patch) | |
tree | f6221fd502e3f2fbe57fe5ba7d012666908739a0 /sql/sql_class.h | |
parent | 389f5cf76fa2bd5e3dacd074395db4d0ef59c9f2 (diff) | |
download | mariadb-git-2b84e1c9667df5ff9a7b1f4da934e57490b32630.tar.gz |
MDEV-23080: desync and pause node on BACKUP STAGE BLOCK_DDL
make BACKUP STAGE behave as FTWRL, desyncing and pausing the node
to prevent BF threads (appliers) from interfering with blocking stages.
This is needed because BF threads don't respect BACKUP MDL locks.
Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index a439da53a7d..8e2b6eed338 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -3011,6 +3011,9 @@ public: uint server_status,open_options; enum enum_thread_type system_thread; enum backup_stages current_backup_stage; +#ifdef WITH_WSREP + bool wsrep_desynced_backup_stage; +#endif /* WITH_WSREP */ /* Current or next transaction isolation level. When a connection is established, the value is taken from |