summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorLeandro Pacheco <leandro.pacheco@galeracluster.com>2021-07-20 12:45:00 -0300
committerJan Lindström <jan.lindstrom@mariadb.com>2021-07-27 08:11:41 +0300
commit2b84e1c9667df5ff9a7b1f4da934e57490b32630 (patch)
treef6221fd502e3f2fbe57fe5ba7d012666908739a0 /extra
parent389f5cf76fa2bd5e3dacd074395db4d0ef59c9f2 (diff)
downloadmariadb-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 'extra')
-rw-r--r--extra/mariabackup/backup_mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/backup_mysql.cc b/extra/mariabackup/backup_mysql.cc
index 162980acb21..04a4fb22e14 100644
--- a/extra/mariabackup/backup_mysql.cc
+++ b/extra/mariabackup/backup_mysql.cc
@@ -930,7 +930,7 @@ bool lock_tables(MYSQL *connection)
if (have_galera_enabled)
{
- xb_mysql_query(connection, "SET SESSION wsrep_causal_reads=0", false);
+ xb_mysql_query(connection, "SET SESSION wsrep_sync_wait=0", false);
}
xb_mysql_query(connection, "BACKUP STAGE START", true);