Bug #59226 5.1 plugin crashes during crash recovery of 5.5.8 database
| Submitted: | 30 Dec 2010 2:59 | Modified: | 30 Dec 2010 14:02 |
|---|---|---|---|
| Reporter: | Mark Callaghan | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: InnoDB Plugin storage engine | Severity: | S3 (Non-critical) |
| Version: | 5.1.52 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | crash, innodb, plugin, recovery | ||
[30 Dec 2010 2:59]
Mark Callaghan
[30 Dec 2010 3:03]
Mark Callaghan
The database table was created with: innodb_file_per_table innodb_file_format=barracuda
[30 Dec 2010 3:20]
Mark Callaghan
The schema for the table with pending merges in the insert buffer `transactionid` int(11) NOT NULL AUTO_INCREMENT, `dateandtime` datetime DEFAULT NULL, `cashregisterid` int(11) NOT NULL, `customerid` int(11) NOT NULL, `productid` int(11) NOT NULL, `price` float NOT NULL, PRIMARY KEY (`transactionid`), KEY `marketsegment` (`price`,`customerid`), KEY `registersegment` (`cashregisterid`,`price`,`customerid`), KEY `pdc` (`price`,`dateandtime`,`customerid`) ) engine=innodb
[30 Dec 2010 3:21]
Mark Callaghan
The insert benchmark code is at http://bazaar.launchpad.net/~mdcallag/mysql-patch/mytools/annotate/head:/bench/ibench/iibe...
[30 Dec 2010 9:20]
Sveta Smirnova
Thank you for the report. According to http://dev.mysql.com/doc/refman/5.5/en/downgrading.html: If you downgrade from one release series to another, there may be incompatibilities in table storage formats. In this case, use mysqldump to dump your tables before downgrading. After downgrading, reload the dump file using mysql or mysqlimport to re-create your tables. So this is not a bug.
[30 Dec 2010 14:02]
Mark Callaghan
I prefer dump & reload, but it is not required. Per the InnoDB docs a slow shutdown is required -- all dirty blocks must be written, all entries from the insert buffer must be merged, all pending transactions must commit or rollback. Expecting crash recovery to work violates all of those requirements. This is definitely not a bug.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 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.