Merge lp:~verterok/charms/trusty/mongodb/fix-data_directory-migration into lp:charms/trusty/mongodb
Proposed by
Guillermo Gonzalez
Status: | Merged |
---|---|
Merged at revision: | 72 |
Proposed branch: | lp:~verterok/charms/trusty/mongodb/fix-data_directory-migration |
Merge into: | lp:charms/trusty/mongodb |
Diff against target: |
126 lines (+92/-2) 2 files modified
hooks/hooks.py (+5/-2) tests/04_deploy_with_storage.py (+87/-0) |
To merge this branch: | bzr merge lp:~verterok/charms/trusty/mongodb/fix-data_directory-migration |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Van Steenburgh (community) | Approve | ||
Adam Israel (community) | Needs Fixing | ||
Review via email: mp+260290@code.launchpad.net |
Commit message
Add flag to signal when the new_mongo_dir was just created and migrate the existing data directory.
Description of the change
Add flag to signal when the new_mongo_dir was just created and migrate the existing data directory.
Current code in trunk, will never migrate the data into the new_mongo_dir as the conditional will skip that code path.
In order to reproduce this, you need a non-local provider. I used this juju-deployer config: http://
To post a comment you must log in.
charm_lint_check #4844 mongodb for verterok mp260290
LINT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_lint_ check/4844/