summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Goryavsky <julius.goryavsky@mariadb.com>2022-06-09 15:59:03 +0200
committerJulius Goryavsky <julius.goryavsky@mariadb.com>2022-06-09 15:59:03 +0200
commite7133e1e7f240d039730dd1536ebef9995e9413a (patch)
treead60af650b8cdabb79a651726c5e1f18ee03a846
parenta1f66c3844e7c57bc1651cfc852c308fd3481bee (diff)
downloadmariadb-git-bb-10.3-MDEV-28656-galera.tar.gz
MDEV-28690 addendum: fixed regression in tests for qpressbb-10.3-MDEV-28656-galera
-rw-r--r--extra/mariabackup/ds_compress.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/mariabackup/ds_compress.cc b/extra/mariabackup/ds_compress.cc
index 39a72cdca34..549fa35cad0 100644
--- a/extra/mariabackup/ds_compress.cc
+++ b/extra/mariabackup/ds_compress.cc
@@ -410,6 +410,9 @@ compress_worker_thread_func(void *arg)
pthread_mutex_lock(&thd->data_mutex);
while (1) {
+ thd->data_avail = FALSE;
+ pthread_cond_signal(&thd->data_cond);
+
while (!thd->data_avail && !thd->cancelled) {
pthread_cond_wait(&thd->data_cond, &thd->data_mutex);
}