• Andrei's avatar
    MDEV-28948 FLUSH BINARY LOGS waits/hangs on mysql_mutex_unlock(&LOCK_index) · 5bf4dee3
    Andrei authored
    The hang may be caused by a 1pc branch that was fixed by MDEV-26031 in
    10.6 and up. That commit did not look relevant in 10.5 and below
    so  was not pushed to the low branches.
    
    To possibly tackle the reported issue
    the MDEV-26031 is backported now with a test that
    unlike 10.6 does not expose the former bug in 10.5.
    It is only needed for checking a refined logics
    inside MYSQL_BIN_LOG::write_transaction_to_binlog.
    The latter is made to do away with xid-unlogging (which is suspected
    to have been at fault) for xid-less transaction.
    5bf4dee3
binlog_1pc.test 1.09 KB