c2oo / xtrabackup-manager

Automatically exported from code.google.com/p/xtrabackup-manager
0 stars 0 forks source link

Very long backups result in Fatal error #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After a very long full backup I'm seeing the following error:

2012-02-05 20:29:06 +0100 [INFO] : [ XtraBackup step completed OK. Proceeding 
with apply-log step... ]
PHP Fatal error:  Attempt to unset static property dbConnection::$conn in 
/home/xbm/xtrabackup-manager/includes/dbConnection.class.php on line 85

It seems that the code tries to unset a static property, which apparently isn't 
allowed.

Original issue reported on code.google.com by arnaud.lb on 5 Feb 2012 at 8:00

GoogleCodeExporter commented 8 years ago
Thank you for the bug report. I'll look into a better way to handle this and 
push a fix soon.

Original comment by lachlan....@gmail.com on 7 Feb 2012 at 6:14

GoogleCodeExporter commented 8 years ago
This should now be fixed as of rev 221. 

To test I simulated a connection loss by using "KILL <connection id>" while a 
backup was running and confirmed I could produce the issue you saw before the 
fix. After applying this fix and repeating the test I could see that a graceful 
reconnection occurs without interrupting the backup.

Please update your code to the latest revision and let me know if the issue is 
gone?

Original comment by lachlan....@gmail.com on 8 Feb 2012 at 12:53

GoogleCodeExporter commented 8 years ago
Note: You may need to run "xbm upgrade" after you upgrade.

Original comment by lachlan....@gmail.com on 9 Feb 2012 at 12:15

GoogleCodeExporter commented 8 years ago
This fixes the issue, thanks :)

Original comment by arnaud.lb on 10 Feb 2012 at 6:02

GoogleCodeExporter commented 8 years ago
Resolving per arnaud.

Original comment by lachlan....@gmail.com on 15 Feb 2012 at 9:24