Code review comment for lp:~hduran-8/juju-core/upgrade_restore_for_replicaset

Revision history for this message
Horacio DurĂ¡n (hduran-8) wrote :

Reviewers: mp+218998_code.launchpad.net,

Message:
Please take a look.

Description:
Corrected restore tu support current juju code

Current restore plugin, takes a backup which contains
a dump of the mongodb for the backed up machine and
several configuration files, it bootstraps a new
machine and:
Deletes the fresh db
Loads the dump
Places the files instead of the fresh machine ones
Restarts services.
Since replicaset was introduced the db load was not
working properly. A replicaset initiate with a fresh
config was added to solve it.

https://code.launchpad.net/~hduran-8/juju-core/upgrade_restore_for_replicaset/+merge/218998

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/94330043/

Affected files (+89, -25 lines):
   A [revision details]
   M cmd/plugins/juju-restore/restore.go

« Back to merge proposal