Skip to content

Commit

Permalink
MDEV-22889: Disable innodb.innodb_force_recovery_rollback
Browse files Browse the repository at this point in the history
The test case that was added for MDEV-21217
(commit b68f1d8)
should have only two possible outcomes for the locking SELECT statement:

(1) The statement is blocked, and the test will eventually fail
with a lock wait timeout. This is what I observed when the
code fix for MDEV-21217 was missing.

(2) The lock conflict will ensure that the statement will execute
after the rollback has completed, and an empty table will be observed.
This is the expected outcome with the recovery fix.

What occasionally happens (in some of our CI environments only, so far)
is that the locking SELECT will return all 1,000 rows of the table that
had been inserted by the transaction that was never supposed to be
committed. One possibility is that the transaction was unexpectedly
committed when the server was killed.

Let us disable the test until the reason of the failure has been
determined and addressed.
  • Loading branch information
dr-m committed Jun 14, 2020
1 parent 3dbc49f commit ad5edf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mysql-test/suite/innodb/disabled.def
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
##############################################################################

create-index-debug : MDEV-13680 InnoDB may crash when btr_page_alloc() fails
innodb_force_recovery_rollback : MDEV-22889 InnoDB occasionally breaks ACID

0 comments on commit ad5edf3

Please sign in to comment.