Merge lp://staging/~jaywink/charms/trusty/postgresql/swiftwal_missing_functionality into lp://staging/charms/trusty/postgresql
Status: | Rejected |
---|---|
Rejected by: | Charles Butler |
Proposed branch: | lp://staging/~jaywink/charms/trusty/postgresql/swiftwal_missing_functionality |
Merge into: | lp://staging/charms/trusty/postgresql |
Diff against target: |
180 lines (+53/-17) 5 files modified
TODO (+2/-0) config.yaml (+13/-9) hooks/hooks.py (+36/-0) templates/postgres.cron.tmpl (+1/-7) templates/swiftwal.conf.tmpl (+1/-1) |
To merge this branch: | bzr merge lp://staging/~jaywink/charms/trusty/postgresql/swiftwal_missing_functionality |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Disapprove | ||
Review via email: mp+235394@code.staging.launchpad.net |
Description of the change
Enable missing functionality for SwiftWAL backups. The settings we're marked EXPERIMENTAL but afaict the functionality was not finished.
Deprecate settings 'swiftwal_
Rename setting swiftwal_
Add packages required by SwiftWAL, install swiftwal.conf file from template and tune crontab template to work with swiftwal.
NOTE! NOT ready for merging. Still needs some further testing, for example restore case (and maybe tests too?), but submitting for early review for comments, whether these fixes could be included, and what clearly needs to be fixed.
Unmerged revisions
- 102. By Jason Robinson
-
Enable missing functionality for SwiftWAL backups.
Deprecate settings 'swiftwal_log_shipping' , reason: --xlog option should always be
passed to postgresql backup tool according to Swiftwal documentation. Otherwise backups
could be unrecoverable.
Rename setting swiftwal_container_ prefix to swiftwal_container. Swiftwal expects to
receive full container name to backup to.
Add packages required by SwiftWAL, install swiftwal.conf file from template and tune
crontab template to work with swiftwal.
Hi.
I've had a branch finishing off this behavior in the review queue for the last few weeks - there is some traction now and it should land soon. I've also got wal-e support done, which I think will be a better option in the long term than SwiftWAL (there are a few subtle differences, but wal-e is supported by someone else and much better known since I've never announced SwiftWAL or moved it to a non-beta version number).
This is the original merge proposal that fixes up SwiftWAL:
https:/ /code.launchpad .net/~stub/ charms/ precise/ postgresql/ bug-1276024- fix-log- shipping/ +merge/ 225324
This is the wal-e one:
https:/ /code.launchpad .net/~stub/ charms/ precise/ postgresql/ wal-e/+ merge/225807
This is the one that this work will likely land as, since the reviewers seem to want one but smoosh of a merge proposal rather than the work broken up into manageable chunks:
https:/ /code.launchpad .net/~stub/ charms/ precise/ postgresql/ integration/ +merge/ 233666