]> xenbits.xensource.com Git - xcp/xen-api.git/commit
Rewrite the pool database restore processing to use the type-safe Db.* API, now that...
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:06 +0000 (17:39 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:06 +0000 (17:39 +0000)
commit3af9b0f8c925631bb8b9b923b18a218da13819a2
tree45c1d24e2d05c516ebdf03ff87218ccbf5067551
parent000cd9f1d9eaad69e2e92b0c8dc4a7d580dc0e6c
Rewrite the pool database restore processing to use the type-safe Db.* API, now that it's possible to have multiple active databases. Fold the 'post_restore_hook' logic into a single 'prepare' step as there was no special reason it had to be done so late (and in the wrong layer of the code)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
ocaml/database/db_backend.ml
ocaml/database/db_cache_impl.ml
ocaml/xapi/pool_db_backup.ml
ocaml/xapi/xapi.ml