Bug #50458 | Backup logs show wrong stop time when restore is performed. | ||
---|---|---|---|
Submitted: | 19 Jan 2010 21:36 | Modified: | 2 Mar 2010 2:18 |
Reporter: | Hema Sridharan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S2 (Serious) |
Version: | 5.6.0, 6.0.14 | OS: | Any |
Assigned to: | Rafal Somla | CPU Architecture: | Any |
[19 Jan 2010 21:36]
Hema Sridharan
[19 Jan 2010 22:28]
Sveta Smirnova
Thank you for the report. Verified as described.
[21 Jan 2010 19:21]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/97771 2936 Rafal Somla 2010-01-21 Bug#50458 - Backup logs show wrong stop time when restore is performed. Due to error in the program logic, RESTORE operation reported in backup logs stop time read from backup image, that is the saved time of when BACKUP operation has ended. This patch fixes the logic so that stop time of RESTORE operation is reported instead. @ mysql-test/suite/backup/t/backup_logs.test - Ensure that RESTORE operation runs at least 1 second, so that stop time is bigger than start time. - Add check that stop time is bigger than start time. @ sql/backup/kernel.cc When reporting stop time to backup logs, take the time which is stored in m_catalog only in case of BACKUP operation. For RESTORE report the actual time when the operation has ended.
[22 Jan 2010 10:13]
Rafal Somla
Patch queued into mysql-6.0-backup tree. revid:rafal.somla@sun.com-20100121192059-4bysvwlc3sltg9q9
[20 Feb 2010 9:17]
Bugs System
Pushed into 6.0.14-alpha (revid:ingo.struewing@sun.com-20100218152520-s4v1ld76bif06eqn) (version source revid:ingo.struewing@sun.com-20100122221225-ccgkfpesvrttdlc1) (merge vers: 6.0.14-alpha) (pib:16)
[2 Mar 2010 2:18]
Paul DuBois
Noted in 6.0.14 changelog. The stop time for RESTORE operations was logged incorrectly.