mariadb/extra/mariabackup
Marko Mäkelä 5cec83476d MDEV-29896: mariadb-backup --backup --incremental --throttle=... hangs
io_watching_thread(): Declare as a detachable thread, similar to
log_copying_thread().

stop_backup_threads(): Wait for both log_copying_thread and
io_watching_thread to clear their flags. Expect log_sys.mutex
to be held by the caller.

xtrabackup_backup_func(): Initialize log_copying_stop before
creating io_watching_thread. This prevents a race condition
where io_watching_thread() could wait on the condition variable
before it had been fully initialized. This race condition would
cause a hang in the GNU libc implementation of pthread_cond_destroy()
at the end of stop_backup_threads().

This race condition was introduced in
commit 38fd7b7d91 (MDEV-21452).
2022-12-21 13:41:10 +02:00
..
quicklz
backup_copy.cc MDEV-30132 Crash after recovery, with InnoDB: Tried to read ... 2022-11-30 10:54:03 +02:00
backup_copy.h revert mariabackup part of MDEV-27524, fix the test 2022-08-01 15:53:13 +02:00
backup_debug.h MDEV-25312 Replace fil_space_t::name with fil_space_t::name() 2021-04-07 18:01:13 +03:00
backup_mysql.cc Merge 10.5 into 10.6 2022-08-30 13:01:16 +03:00
backup_mysql.h revert mariabackup part of MDEV-27524, fix the test 2022-08-01 15:53:13 +02:00
backup_wsrep.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
changed_page_bitmap.cc MDEV-30132 Crash after recovery, with InnoDB: Tried to read ... 2022-11-30 10:54:03 +02:00
changed_page_bitmap.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
CMakeLists.txt Merge 10.5 into 10.6 2021-11-29 11:39:34 +02:00
common.h revert mariabackup part of MDEV-27524, fix the test 2022-08-01 15:53:13 +02:00
datasink.cc Merge 10.2 into 10.3 2021-09-22 18:01:41 +03:00
datasink.h MDEV-26573 : A static analyzer warning about ds_archive.cc 2021-09-15 14:19:24 +02:00
ds_buffer.cc Merge 10.4 into 10.5 2021-04-14 11:35:39 +03:00
ds_buffer.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_compress.cc Merge 10.4 into 10.5 2022-08-22 13:38:40 +03:00
ds_compress.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_local.cc Merge 10.4 into 10.5 2021-04-14 11:35:39 +03:00
ds_local.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_stdout.cc MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
ds_stdout.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_tmpfile.cc Merge 10.4 into 10.5 2021-04-14 11:35:39 +03:00
ds_tmpfile.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_xbstream.cc Merge 10.4 into 10.5 2021-09-24 08:42:23 +03:00
ds_xbstream.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
encryption_plugin.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
encryption_plugin.h
fil_cur.cc MDEV-30132 Crash after recovery, with InnoDB: Tried to read ... 2022-11-30 10:54:03 +02:00
fil_cur.h Merge 10.4 into 10.5 2020-12-02 18:29:49 +02:00
innobackupex.cc Merge branch '10.4' into 10.5 2021-07-31 23:19:51 +02:00
innobackupex.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
read_filt.cc Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
read_filt.h Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
write_filt.cc Merge 10.4 into 10.5 2020-12-02 18:29:49 +02:00
write_filt.h MDEV-22929 MariaBackup option to report and/or continue when corruption is encountered 2020-12-01 08:08:57 +03:00
wsrep.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
xb_regex.h MDEV-14024 PCRE2. 2019-12-21 10:34:02 +01:00
xbcloud.cc Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
xbstream.cc Merge 10.4 into 10.5 2021-11-29 11:16:20 +02:00
xbstream.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
xbstream_read.cc MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
xbstream_write.cc MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
xtrabackup.cc MDEV-29896: mariadb-backup --backup --incremental --throttle=... hangs 2022-12-21 13:41:10 +02:00
xtrabackup.h Merge branch '10.5' into bb-10.6-release 2022-08-03 12:19:59 +02:00