diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-08-10 11:44:42 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-08-11 09:58:26 +0300 |
commit | 57d1a5fa8ed925b03d28aea3fab82de0823e68a8 (patch) | |
tree | 1977501e45f8c6ce73d02c4a78bde71a4211ab26 /sql/wsrep_sst.h | |
parent | 78ea8ad425f2dc650b07e33d4724bbb21a9d1f17 (diff) | |
download | mariadb-git-57d1a5fa8ed925b03d28aea3fab82de0823e68a8.tar.gz |
MDEV-22543 : Galera SST donation fails, FLUSH TABLES WITH READ LOCK times out
During SST we need to let FTWRL to use normal timeout method
even when client is disconnected.
Diffstat (limited to 'sql/wsrep_sst.h')
-rw-r--r-- | sql/wsrep_sst.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/wsrep_sst.h b/sql/wsrep_sst.h index 063cab5f0f1..5a749d529fb 100644 --- a/sql/wsrep_sst.h +++ b/sql/wsrep_sst.h @@ -74,12 +74,14 @@ extern void wsrep_SE_init_grab(); /*! grab init critical section */ extern void wsrep_SE_init_wait(); /*! wait for SE init to complete */ extern void wsrep_SE_init_done(); /*! signal that SE init is complte */ extern void wsrep_SE_initialized(); /*! mark SE initialization complete */ +extern bool wsrep_is_sst_progress(); #else #define wsrep_SE_initialized() do { } while(0) #define wsrep_SE_init_grab() do { } while(0) #define wsrep_SE_init_done() do { } while(0) #define wsrep_sst_continue() (0) +#define wsrep_is_sst_progress() (0) #endif /* WITH_WSREP */ #endif /* WSREP_SST_H */ |