Merge lp:~hduran-8/juju-core/upgrade_restore_for_replicaset into lp:~go-bot/juju-core/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Horacio Durán | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2725 | ||||
Proposed branch: | lp:~hduran-8/juju-core/upgrade_restore_for_replicaset | ||||
Merge into: | lp:~go-bot/juju-core/trunk | ||||
Diff against target: |
197 lines (+87/-25) 2 files modified
cmd/plugins/juju-backup/juju-backup (+3/-0) cmd/plugins/juju-restore/restore.go (+84/-25) |
||||
To merge this branch: | bzr merge lp:~hduran-8/juju-core/upgrade_restore_for_replicaset | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+218998@code.launchpad.net |
Commit message
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:/
R=jameinel, klyachin
Description of the change
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.
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): juju-restore/ restore. go
A [revision details]
M cmd/plugins/