forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit167bd48
committed
Make standby promotion reset the recovery pause state to 'not paused'.
If a promotion is triggered while recovery is paused, the paused state endsand promotion continues. But previously in that casepg_get_wal_replay_pause_state() returned 'paused' wrongly while a promotionwas ongoing.This commit changes a standby promotion so that it marks the recoverypause state as 'not paused' when it's triggered, to fix the issue.Author: Fujii MasaoReviewed-by: Dilip Kumar, Kyotaro HoriguchiDiscussion:https://postgr.es/m/f706876c-4894-0ba5-6f4d-79803eeea21b@oss.nttdata.com1 parent0a442a4 commit167bd48
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12825 | 12825 |
| |
12826 | 12826 |
| |
12827 | 12827 |
| |
| 12828 | + | |
| 12829 | + | |
| 12830 | + | |
| 12831 | + | |
| 12832 | + | |
| 12833 | + | |
| 12834 | + | |
| 12835 | + | |
12828 | 12836 |
| |
12829 | 12837 |
| |
12830 | 12838 |
| |
|
0 commit comments
Comments
(0)