• Nirbhay Choubey's avatar
    MDEV-9416: MariaDB galera got signal 11 when altering table add unique index · 7241258c
    Nirbhay Choubey authored
    When a BF thread attempts to abort a victim thread's transaction,
    the victim thread is not locked and thus its not safe to rely on
    its data structures like htons registered for the trx.
    
    So, instead of getting the registered htons from victim, innodb's
    hton can be looked up directly from installed_htons[] and used to
    abort the transaction. (Same technique is used in older versions)
    7241258c
handler.cc 191 KB