• Brandon Nesterenko's avatar
    MDEV-27850: MTR tests can hang due to DEBUG_SYNC race condition · 905baa64
    Brandon Nesterenko authored
    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>
    905baa64
rpl_dump_request_retry_warning.test 2.1 KB