deis / postgres

A PostgreSQL database used by Deis Workflow.
https://deis.com
MIT License
36 stars 22 forks source link

fix(rootfs): enable archive_mode before initial boot #115

Closed bacongobbler closed 8 years ago

bacongobbler commented 8 years ago

It appears that the first WAL log on a successful restore is (occasionally) not being shipped to minio, and that's because we did not enable archive_mode = on for the first database boot in 003_restore_from_backup.sh, which starts shipping WAL logs immediately after booting. We enable archive mode in 004. This is a simple fix that just requires us enabling archive_mode in 003_restore_from_backup.sh before we boot up the server.

closes #114

mention-bot commented 8 years ago

By analyzing the blame information on this pull request, we identified @kmala to be a potential reviewer

bacongobbler commented 8 years ago

closing. As travis points out, this does not fix the issue.

bacongobbler commented 8 years ago

see #116 for a follow-up. forgot one thing that might've broken the tests.