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

Commitdccdc8e

Browse files
Alexey Masterovvbwagner
Alexey Masterov
authored andcommitted
[PGPRO-4864] Fix for errors in rum test causing lag
between write and replay on replica. Now test willwait for reply on target database not write to waltags: rum
1 parent39ccbd6 commitdccdc8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎t/001_wal.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ sub test_index_replay
2323
if ($server_version < 100000)
2424
{
2525
$caughtup_query =
26-
"SELECT pg_current_xlog_location() <=write_location FROM pg_stat_replication WHERE application_name = '$applname';";
26+
"SELECT pg_current_xlog_location() <=replay_location FROM pg_stat_replication WHERE application_name = '$applname';";
2727
}
2828
else
2929
{
3030
$caughtup_query =
31-
"SELECT pg_current_wal_lsn() <=write_lsn FROM pg_stat_replication WHERE application_name = '$applname';";
31+
"SELECT pg_current_wal_lsn() <=replay_lsn FROM pg_stat_replication WHERE application_name = '$applname';";
3232
}
3333
$node_master->poll_query_until('postgres',$caughtup_query)
3434
ordie"Timed out while waiting for standby 1 to catch up";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp