• Sergey Vojtovich's avatar
    MDEV-14756 - Remove trx_sys_t::rw_trx_list · a0b385ea
    Sergey Vojtovich authored
    Determine minimum transaction id by iterating rw_trx_hash, not rw_trx_list.
    
    It is more expensive than previous implementation since it does linear
    search, especially if there're many concurrent transactions running. But in
    such case mutex is much bigger evil. And since it doesn't require
    trx_sys->mutex protection it scales better.
    
    For low concurrency performance difference is neglible.
    a0b385ea
trx0sys.ic 7.15 KB