Commit 419a0e3
Matthew Fisher
fix(rootfs): enable archive_mode before initial boot
It appears that the first WAL log 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.1 parent 17a4041 commit 419a0e3
3 files changed
Lines changed: 6 additions & 13 deletions
File tree
- rootfs/docker-entrypoint-initdb.d
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
File renamed without changes.
Lines changed: 0 additions & 13 deletions
This file was deleted.
0 commit comments