Commit 0f912d7
chore(consul-postgres-ha): pin provider exactly + document disk-loss rejoin
Two small follow-ups after verifying the v0.2.0-beta.3 env-update path
against the live cluster:
1. Provider pin in cluster.tf changed from `>= 0.2.0-beta.3` to
`0.2.0-beta.3` exactly. Terraform's `>=` operator does NOT include
later prerelease versions, so `>= 0.2.0-beta.3` only matches stable
`>= 0.2.0` — `terraform init` failed with "no available releases
match the given constraints". Pin exactly until we hit a stable.
2. FAILOVER.md gains a disk-loss rejoin section: stop patroni, wipe
the patroni-pgdata volume, restart, watch Patroni's bootstrap path
pull a full pg_basebackup from the leader over mesh-conn's QUIC
tunnel. Measured 5.2 MB / 7s end-to-end on the live cluster
(handshake-dominated for a small dataset; the real throughput
number remains the ~25 MB/s pg_basebackup observed during the soft
-kill section). Closes the last "What this demo does NOT cover"
item.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4b7f962 commit 0f912d7
2 files changed
Lines changed: 39 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
175 | 207 | | |
176 | 208 | | |
177 | 209 | | |
| |||
182 | 214 | | |
183 | 215 | | |
184 | 216 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments