diff options
| author | Tatsuo Ishii | 2025-12-17 08:54:32 +0000 |
|---|---|---|
| committer | Tatsuo Ishii | 2025-12-17 08:54:32 +0000 |
| commit | 8d2ceadefcecf2b40d1df03003ec1ab8fe514dee (patch) | |
| tree | 6c2eaa3d4928cb786ee7481b7f39c1077ca63ca4 /src/main/pool_globals.c | |
| parent | 74f3a6d6f2b56e50ff377a4756749893f51b86b9 (diff) | |
The error is caused by follow primary process. In the process
pg_rewind is executed to sync a standby with new primary. If new
primary promotion is slow, pg_rewind incorrectly returns "there's no
need to pg_rewind". Even if new standby starts, the standby causes an
error later on which make the 034.promote_node test failed.
To fix this, add CHECKPOINT in the failover script. Also add "-c"
option pg_rewind to retrieve WAL from archives so that pg_rewind could
find necessary WAL.
Reported-by: Bo Peng <pengbo@sraoss.co.jp>
Suggested-by: Bo Peng <pengbo@sraoss.co.jp>
Backpatch-through: v4.3
Diffstat (limited to 'src/main/pool_globals.c')
0 files changed, 0 insertions, 0 deletions
