mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
refs codership/mysql-wsrep#90 - fixed race in OSU
Make sure that thd uses the same method to begin and end OSU operation.
This commit is contained in:
committed by
Nirbhay Choubey
parent
c16ec07419
commit
2df5ff2691
@ -6233,8 +6233,8 @@ int ha_wsrep_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
|
||||
{
|
||||
DBUG_ENTER("ha_wsrep_abort_transaction");
|
||||
if (!WSREP(bf_thd) &&
|
||||
!(wsrep_OSU_method_options == WSREP_OSU_RSU &&
|
||||
bf_thd->wsrep_exec_mode == TOTAL_ORDER)) {
|
||||
!(bf_thd->wsrep_OSU_method == WSREP_OSU_RSU &&
|
||||
bf_thd->wsrep_exec_mode == TOTAL_ORDER)) {
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user