Bug #37141 | Doc page does not account for consequences of FLUSH TABLES WITH READ LOCK | ||
---|---|---|---|
Submitted: | 2 Jun 2008 17:01 | Modified: | 16 Oct 2008 15:56 |
Reporter: | Gordon Shannon | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.1.24-rc-community-log | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | flush tables, innodb, mysqldump |
[2 Jun 2008 17:01]
Gordon Shannon
[2 Jun 2008 19:02]
Sveta Smirnova
Thank you for the report. You qoute the manual: "If and only if one long updating statement is running when the FLUSH statement is issued, the MySQL server may get stalled until that long statement finishes, and then the dump becomes lock-free. " You suggest a change: "should be qualifed to include the situation where you have long-running queries, and the FLUSH TABLES WITH READ LOCK can freeze your db until the queries are finished." But this situation is clearly described in quoted part of the manual. "if and only if" means "only in 1 case which would be described below" "may get stalled" means "your db would be freezed" I don't see any reason to change this. So I close the report as "Not a Bug"
[2 Jun 2008 19:28]
Gordon Shannon
I am saying that the statement "This is an online, non-blocking backup that does not disturb the reads and writes on the tables." on http://dev.mysql.com/doc/refman/5.1/en/backup-policy.html is wrong. "flush tables with read lock" is a blocking statement. Because the statement is contradicted on another page, does not mean this page is therefore correct. If you want to close this, I would like to understand how that statement is correct.
[2 Jun 2008 19:43]
Sveta Smirnova
Thank you for the feedback and clarification. I mixed 2 pages. Verified as "Please fix http://dev.mysql.com/doc/refman/5.1/en/backup-policy.html to reflect issue with FLUSH TABLES WITH READ LOCK"
[16 Oct 2008 15:56]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.