• sjaakola's avatar
    MDEV-29684 Fixes for cluster wide write conflict resolving · 66c05326
    sjaakola authored
    Cluster conflict victim's THD is marked with wsrep_aborter.
    THD::wsrep_aorter holds the thread ID of the hight priority tread,
    which is currently carrying out BF aborting for this victim.
    
    However, the BF abort operation is not always successful,
    and in such case the wsrep_aborter mark should be removed.
    In the old code, this wsrep_aborter resetting did not happen,
    and this could lead to a situation where the sticky wsrep_aborter
    mark prevents any further attempt to BF abort this transaction.
    
    This commit fixes this issue, and resets wsrep_aborter after
    unsuccesful BF abort attempt.
    Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
    66c05326
wsrep_thd.h 9.23 KB