Commit b0efdfd
committed
Consider pg_ctl successful when progress is made
There is a race when using pg_ctl start --wait:
- pg_ctl starts Postgres
- Postgres begins recovery, detects a parameter requires restart, and exits
- pg_ctl reports that Postgres did not start
Now we look at the LSN reported by pg_controldata to determine if Postgres
made any progress during a "failed" start.
Issue: PGO-19451 parent 50e2236 commit b0efdfd
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
252 | 255 | | |
253 | 256 | | |
254 | 257 | | |
| |||
0 commit comments