Skip to content

Commit 2cd6afb

Browse files
committed
MDEV-22889: Disable innodb.innodb_force_recovery_rollback
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.
1 parent b68f1d8 commit 2cd6afb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mysql-test/suite/innodb/disabled.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
##############################################################################
1212

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

0 commit comments

Comments
 (0)