Bug #38566 | Falcon crash in RecordVersion::thaw at RecordVersion.cpp:421 | ||
---|---|---|---|
Submitted: | 5 Aug 2008 11:21 | Modified: | 8 Jan 2009 17:19 |
Reporter: | Philip Stoev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 6.0-falcon | OS: | Any |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
Tags: | F_CHILL THAW |
[5 Aug 2008 11:21]
Philip Stoev
[5 Aug 2008 11:55]
Philip Stoev
To reproduce this bug, please clone the mysql-test-extra-6.0 repository and execute $ cd mysql-test-extra-6.0/mysqltest/gentest $ perl runall.pl \ --basedir=/path/to/6.0-falcon/ \ --engine=falcon \ --grammar=conf/chill_thaw.yy \ --threads=20 --queries=100000 \ --mysqld=--falcon_debug_mask=7167 \ --mysqld=--falcon_index_chill_threshold=4K \ --mysqld=--falcon_record_chill_threshold=4K The crash should happen within less than a mintute, after a few dozen chill/thaw operations. During the Falcon Boston meeting, it was agreed that 4K is an acceptable value for those parameters, that is why I am testing with it. Values at least up to 32K will also produce crashes. The required grammar file is part of the mysql-test-extra-6.0 repository and does not have to be obtained separately. If the chill options are set to their default values, no crash occurs.
[10 Aug 2008 13:00]
Philip Stoev
This bug is also observed with --threads=1, that is, in a non-concurrent environment.
[19 Aug 2008 21:01]
Kevin Lewis
Related to falcon_record_chill_threshold=4K
[27 Aug 2008 7:11]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52651 2801 Christopher Powers 2008-08-27 Bug #38566 Falcon crash in RecordVersion::thaw at RecordVersion.cpp:421 Removed unnecessary log messages Modified assertions to accommodate race condition where two threads thaw the same record
[8 Jan 2009 17:19]
MC Brown
A noter has been added to the 6.0.8 changelog: Executing a light INSERT and UPDATE workload with falcon_index_chill_threshold set to 4K and falcon_record_chill_threshold set to to 4K, MySQL could crash