xen-org/xen-api — pull request #891 by johnelse (2012-10-17 08:36:03+00:00)
Title: BOSTON-LCM: CA-89978: Fix restoration of database from temporary restore file.

- Delete the temporary restore file after using it to populate the
database - if we don't do this then xapi will use the restore file
again the next time it starts up.

- Perform the initial database flush to the global list of database
connections in all cases; don't flush to the restore database file
if it's being used.