[MDEV-31310] mariabackup --kill-long-queries-timeout doesn't work Created: 2023-05-19  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Backup
Affects Version/s: 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Fix Version/s: 10.6, 10.11

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Marko Mäkelä
Resolution: Unresolved Votes: 0
Labels: None


 Description   

mariabackup --backup --kill-long-queries-timeout doesn't timeout after the commit

commit 38fd7b7d917
Author: Marko Mäkelä <marko.makela@mariadb.com>
Date:   Fri Dec 4 16:18:04 2020 +0200
 
    MDEV-21452: Replace all direct use of os_event_t
    
    Let us replace os_event_t with mysql_cond_t, and replace the
    necessary ib_mutex_t with mysql_mutex_t so that they can be
    used with condition variables.
    
    Also, let us replace polling (os_thread_sleep() or timed waits)
    with plain mysql_cond_wait() wherever possible.
    
    Furthermore, we will use the lightweight srw_mutex for trx_t::mutex,
    to hopefully reduce contention on lock_sys.mutex.
    
    FIXME: Add test coverage of
    mariabackup --backup --kill-long-queries-timeout


Generated at Thu Feb 08 10:22:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.