summaryrefslogtreecommitdiff
path: root/src/main/pool_globals.c
diff options
context:
space:
mode:
authorTatsuo Ishii2025-12-17 08:54:32 +0000
committerTatsuo Ishii2025-12-17 08:54:32 +0000
commit8d2ceadefcecf2b40d1df03003ec1ab8fe514dee (patch)
tree6c2eaa3d4928cb786ee7481b7f39c1077ca63ca4 /src/main/pool_globals.c
parent74f3a6d6f2b56e50ff377a4756749893f51b86b9 (diff)
Test: fix occasional failure of 034.promote_node.HEADmaster
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