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

Commitb7bdade

Browse files
author
Amit Kapila
committed
Disable autovacuum on primary in 040_standby_failover_slots_sync test.
Disable autovacuum to avoid generating xid during stats update asotherwise the new XID could then be replicated to standby at some randompoint making slots at primary lag behind standby during slot sync.As per buildfarmAuthor: Hou ZhijieDiscussion:https://postgr.es/m/514f6f2f-6833-4539-39f1-96cd1e011f23@enterprisedb.comDiscussion:https://postgr.es/m/CAA4eK1Jun8SGCoc6JEktxY_+L7GmoJWrdsx-KCEP=GL-SsWggQ@mail.gmail.com
1 parentb987be3 commitb7bdade

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/test/recovery/t/040_standby_failover_slots_sync.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
# Create publisher
1616
my$publisher = PostgreSQL::Test::Cluster->new('publisher');
1717
$publisher->init(allows_streaming=>'logical');
18+
# Disable autovacuum to avoid generating xid during stats update as otherwise
19+
# the new XID could then be replicated to standby at some random point making
20+
# slots at primary lag behind standby during slot sync.
21+
$publisher->append_conf('postgresql.conf','autovacuum = off');
1822
$publisher->start;
1923

2024
$publisher->safe_psql('postgres',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp