summaryrefslogtreecommitdiff
path: root/sql/debug_sync.cc
diff options
context:
space:
mode:
authorBrandon Nesterenko <brandon.nesterenko@mariadb.com>2022-02-22 08:54:54 -0700
committerBrandon Nesterenko <brandon.nesterenko@mariadb.com>2022-02-25 13:52:07 -0700
commit905baa646df0d5d9204ccd84370a5033f89a2cbf (patch)
treee0cb7c55ef1ee209a77c20006e722d421c37fc5d /sql/debug_sync.cc
parented691eca99da36f3c20558edd08786224539a7ab (diff)
downloadmariadb-git-905baa646df0d5d9204ccd84370a5033f89a2cbf.tar.gz
MDEV-27850: MTR tests can hang due to DEBUG_SYNC race condition
DEBUG_SYNC signals can get lost in certain tests due to later DEBUG_SYNC commands overwriting them. This patch addresses these issues in three tests: main.query_cache_debug, main.partition_debug_sync, and rpl.rpl_dump_request_retry_warning. Additionally, main.partition_debug_sync needed changes to the result file (the others did not). The synchronization happened between two commands, one based on ALTER, the other on DROP. A new thread/connection was needed to synchronize the DEBUG_SYNC actions between these commands, thereby changing the result file. Additional comments were added for clarification. Reviewed By: ============ Andrei Elkin <andrei.elkin@mariadb.com>
Diffstat (limited to 'sql/debug_sync.cc')
0 files changed, 0 insertions, 0 deletions