Bug #53297 | innobackup timeout while waiting to get readlock | ||
---|---|---|---|
Submitted: | 29 Apr 2010 20:57 | Modified: | 15 Feb 2011 14:55 |
Reporter: | Victor Kirkebo | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Enterprise Backup | Severity: | S3 (Non-critical) |
Version: | 3.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[29 Apr 2010 20:57]
Victor Kirkebo
[29 Apr 2010 20:58]
Victor Kirkebo
scripts and data for reproducing the bug
Attachment: bug_test.tar.gz (application/x-gzip, text), 444.91 KiB.
[30 Apr 2010 6:59]
Sveta Smirnova
Seems to be Solaris issue as not repeatable on Linux.
[30 Apr 2010 10:35]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior with mysql-advanced-5.1.46-solaris10-x86_64 and InnoDB Hot Backup from 3.0 branch from SVN repository. Could you please if version from SVN works in your environment and if not provide additional circumstances need to repeat the bug.
[5 May 2010 8:06]
Victor Kirkebo
The issue is that innobackup tries to take the server offline with FLUSH TABLES WITH READ LOCK and that this might fail if you have a heavy transaction load or some very long transactions. This is the case for any innobackup version and with any MySQL server. I don't know how hard it is to make innobackup work as an online backup tool - at least it should be online if you are only interested in backing up innodb tables since this can already be achieved with the ibbackup application. ---- "How to repeat" with a long running dummy transaction: In the run_wait script used in "How to repeat" add these lines of code where the stress load is being run: echo "$(date) - Create a long transaction (in the background)" $CLIENT_PATH/mysql --user=root --port=10740 --protocol=tcp -e"create database tst; use tst; create table longtx(i int); select count(*)+sleep(1200) from longtx;" &
[5 May 2010 9:07]
Sveta Smirnova
Thank you for the feedback. Verified as described.
[15 Feb 2011 14:55]
Sanjay Manwani
Thank you for taking the time to report a problem. Unfortunately you are not using a current version of the product you reported a problem with -- the problem might already be fixed. Please download a new version from http://www.mysql.com/downloads/ If you are able to reproduce the bug with one of the latest versions, please change the version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of MySQL.