Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit39f9f04

Browse files
committed
Fix timing issue in pg_rewind test.
The test inserts a row in primary server, waits until the insertion hasbeen replicated to a cascaded standby, and checks that it's visible thereby querying the cascaded standby. In order for that to work reliably, thetest needs to wait until the insertion WAL record has been fully replayed.This should fix the occasional buildfarm failures. Diagnosis by Tom Lane.Discussion:https://www.postgresql.org/message-id/606796.1605424022@sss.pgh.pa.us
1 parentb7edb5d commit39f9f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_rewind/t/007_standby_source.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"INSERT INTO tbl1 values ('in A, after rewind')");
156156

157157
$lsn =$node_a->lsn('insert');
158-
$node_b->wait_for_catchup('node_c','write',$lsn);
158+
$node_b->wait_for_catchup('node_c','replay',$lsn);
159159

160160
check_query(
161161
'SELECT * FROM tbl1',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp