'flush tables with read lock' causes mysql server to deadlock
Bug #105225 reported by
Liam Bedford
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Dapper |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: mysql-server-5.0
I'm working on a backup solution for systems that requires running "flush tables with read lock" followed by an lvm snapshot. In testing, I've had multiple instances where the flush tables will hang with no particular solution short of killing mysqld.
The distro currently includes 5.0.22, and lo and behold in the 5.0.23 changelog fixes:
"A compatibility issue with NPTL (Native POSIX Thread Library) on Linux could result in a deadlock with FLUSH TABLES WITH READ LOCK under some conditions. (Bug#20048)"
Can the patch be backported/fixed in 5.0.22 please?
To post a comment you must log in.
Thanks taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Gutsy Gibbon.
If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "How to request new packages" at [WWW] https:/ /help.ubuntu. com/community/ UbuntuBackports #request- new-packages .