Bug #42189 falcon.falcon_bug_22211 fails due to blocked transaction sees rollbacked data
| Submitted: | 18 Jan 2009 22:05 | Modified: | 15 May 2009 15:49 |
|---|---|---|---|
| Reporter: | Olav Sandstå | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Falcon storage engine | Severity: | S2 (Serious) |
| Version: | 6.0.10-alpha | OS: | Any |
| Assigned to: | Olav Sandstå | CPU Architecture: | Any |
| Tags: | F_TRANSACTION | ||
[18 Jan 2009 22:05]
Olav Sandstå
[19 Jan 2009 14:24]
Olav Sandstå
Hi Miguel, Sorry for not including branch information: The source code I use was checked out from the mysql-6.0-falcon-team tree on Friday January 16th and have revision number 2963.
[20 Jan 2009 22:08]
MySQL Verification Team
Thank you for the feedback. I tried several times and I couldn't repeat with latest source tree, could you please test again. I ran the test on 64-bit Suse 11.1: Installing Master Database Saving snapshot of installed databases ======================================================= TEST RESULT TIME (ms) ------------------------------------------------------- falcon.falcon_bug_22211 [ pass ] 104 falcon.falcon_bug_22211 [ pass ] 110 falcon.falcon_bug_22211 [ pass ] 96 falcon.falcon_bug_22211 [ pass ] 141 falcon.falcon_bug_22211 [ pass ] 117 falcon.falcon_bug_22211 [ pass ] 112 falcon.falcon_bug_22211 [ pass ] 95 falcon.falcon_bug_22211 [ pass ] 96 falcon.falcon_bug_22211 [ pass ] 109 falcon.falcon_bug_22211 [ pass ] 106 falcon.falcon_bug_22211 [ pass ] 132 falcon.falcon_bug_22211 [ pass ] 123 falcon.falcon_bug_22211 [ pass ] 109 falcon.falcon_bug_22211 [ pass ] 105 falcon.falcon_bug_22211 [ pass ] 115 falcon.falcon_bug_22211 [ pass ] 160 falcon.falcon_bug_22211 [ pass ] 111 falcon.falcon_bug_22211 [ pass ] 110 falcon.falcon_bug_22211 [ pass ] 99 falcon.falcon_bug_22211 [ pass ] 96 falcon.falcon_bug_22211 [ pass ] 97 falcon.falcon_bug_22211 [ pass ] 98 falcon.falcon_bug_22211 [ pass ] 104 falcon.falcon_bug_22211 [ pass ] 97 falcon.falcon_bug_22211 [ pass ] 115 falcon.falcon_bug_22211 [ pass ] 111 falcon.falcon_bug_22211 [ pass ] 109 falcon.falcon_bug_22211 [ pass ] 112 falcon.falcon_bug_22211 [ pass ] 117 falcon.falcon_bug_22211 [ pass ] 137 falcon.falcon_bug_22211 [ pass ] 172 falcon.falcon_bug_22211 [ pass ] 138 falcon.falcon_bug_22211 [ pass ] 116 falcon.falcon_bug_22211 [ pass ] 98 falcon.falcon_bug_22211 [ pass ] 100 falcon.falcon_bug_22211 [ pass ] 107 ------------------------------------------------------- Stopping All Servers All 36 tests were successful.
[20 Jan 2009 22:24]
Olav Sandstå
Hi, I am not sure how easy it is to reproduce this crash. As I mentioned in the initial bug report the crash happened on re-run number 71507 of this test - and I have only seen the crash once, When I got it I ran the debug-build of MySQL on a dual CPU AMD server running Solaris 10 MU5.
[21 Jan 2009 13:57]
Olav Sandstå
Setting this to Analysing until I have been able to reproduce it.
[9 Mar 2009 8:24]
Olav Sandstå
Setting this to verified based on that I have been able to reproduce it by running this test 184052 times using the latest sources from the mysql-6.0-falcon-team tree.
[9 Mar 2009 9:05]
Kevin Lewis
To my surprise, I found that there is NO sleep after the --send INSERT INTO t1 VALUES(10); Please add a --real_sleep 1 after the --send and before the following ROLLBACK. --send INSERT INTO t1 VALUES(10); --echo # Switch to connection default (REPEATABLE READ) connection default; --echo # Rollback the value 100 --real_sleep 1 <-- Add this and try to recreate ROLLBACK TO SAVEPOINT sp1; --echo # Commit the value 10 COMMIT;
[15 Apr 2009 18:10]
Olav Sandstå
This bug seems to have been fixed by the new Cycle Manager and the new Transaction State object that was introduced into Falcon about a month ago. I have re-run the test 484.000 times without seeing any crashes.
[15 Apr 2009 18:10]
Olav Sandstå
Fix is in 6.0.11
[15 May 2009 15:49]
MC Brown
An entry has been added to the 6.0.11 changelog: The Falcon CycleManager has been updated, which addresses a number of issues when examining records in various transaction states and their visisbility/isolation in relation to other threads.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.066 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.