Bug #58549 | Race condition in buf_LRU_drop_page_hash_for_tablespace() and compressed tables | ||
---|---|---|---|
Submitted: | 29 Nov 2010 8:55 | Modified: | 26 Mar 2012 23:49 |
Reporter: | Marko Mäkelä | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB Plugin storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1 plugin, 5.5+ | OS: | Any |
Assigned to: | Marko Mäkelä | CPU Architecture: | Any |
Tags: | compression, DISCARD TABLESPACE, drop table, race condition, row_format=compressed |
[29 Nov 2010 8:55]
Marko Mäkelä
[23 Nov 2011 5:56]
Nizameddin Ordulu
Marko: Where is the patch for this? I understand that revid 3562 contains the fix for this but it also contains lots of other stuff.
[29 Nov 2011 7:15]
Marko Mäkelä
The patch for this bug was pushed in a changeset that was part of a merge: revno: 3562 revision-id: kent.boortz@oracle.com-20110703154737-d27i4ypu2a0ran21 revno: 3351.14.352 revision-id: marko.makela@oracle.com-20110228115118-ogs3ib1eaz9bsgkt parent: vasil.dimov@oracle.com-20110225095018-jgmv1pnuprrjzat1 committer: Marko Mäkelä <marko.makela@oracle.com> branch nick: 5.1-innodb timestamp: Mon 2011-02-28 13:51:18 +0200 message: Bug #58549 Race condition in buf_LRU_drop_page_hash_for_tablespace() and compressed tables The following commands work for me: bzr log -r3351.14.352 bzr diff -c3351.14.352
[26 Mar 2012 23:49]
John Russell
Added to changelog for 5.1.59: A DROP TABLE or DROP INDEX statement for an InnoDB table on a busy server could cause a crash or corrupt data in the buffer pool, if the buffer pool contained data from an InnoDB compressed table that was being accessed at the same time. (The crash could occur whether or not the table being dropped used compression.)