• Vladislav Vaintroub's avatar
    MDEV-26789 Fix stall of group commit waiters · 8bc5bf2c
    Vladislav Vaintroub authored
    Fixed a condition where designated group commit lead was woken in release,
    but returned early without trying to take over the lock.
    
    So, the group commit locks would be unowned, and the waiters could
    be stalled, until another thread comes that would on whatever reasons
    flush the redo log.
    
    Also, use better criteria for choosing potential next group commit lead.
    8bc5bf2c
log0log.cc 37.7 KB