Skip to content

Commit 4fdddc2

Browse files
committed
Fix for MW-286 test
This patch will fix BF aborting of native threads, e.g. threads which have declared wsrep_on=OFF. Earlier, we have used, for innodb trx locks, was_chosen_as_deadlock_victim flag, for marking inodb transactions, which are victims for wsrep BF abort. With native threads (wsrep_on==OFF), re-using was_chosen_as_deadlock_victim flag may lead to inteference with real deadlock, and to deal with this, the patch has added new flag for marking wsrep BF aborts only: was_chosen_as_wsrep_victim
1 parent 3da4b4f commit 4fdddc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/innobase/include/trx0trx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@ struct trx_lock_t {
597597
only be modified by the thread that is
598598
serving the running transaction. */
599599
bool was_chosen_as_wsrep_victim;
600-
/*!< high priority wsrep thread has
601-
marked this trx to abort */
600+
/*!< high priority wsrep thread has marked
601+
this trx to abort */
602602

603603
/** Pre-allocated record locks */
604604
struct {

0 commit comments

Comments
 (0)