From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: standby recovery fails (tablespace related) (tentative patch and discussion) |
Date: | 2022-07-31 03:46:33 |
Message-ID: | CA+hUKGJUyk_u43RcFWdS-txyoSY8tYLExyW+7=y7G9tEBO_MFg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Jul 31, 2022 at 2:37 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> > WFM, pushed that way.
>
> Looks like conchuela is still intermittently unhappy.
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=conchuela&dt=2022-07-30%2004%3A57%3A51
And here's one from CI that failed on Linux (this was a cfbot run with
an unrelated patch, parent commit b998196 so a few commits after "Fix
test instability"):
https://cirrus-ci.com/task/5282155000496128
It looks like this sequence is racy and we need to wait for more than
just "connection is made" before dropping the slot?
$node_standby->start;
# Make sure connection is made
$node_primary->poll_query_until('postgres',
'SELECT count(*) = 1 FROM pg_stat_replication');
$node_primary->safe_psql('postgres', "SELECT
pg_drop_replication_slot('slot')");
Why not set the replication slot name so that the standby uses it
"properly", like in other tests?
From | Date | Subject | |
---|---|---|---|
Next Message | Julien Rouhaud | 2022-07-31 03:49:39 | Re: [PATCH] Add extra statistics to explain for Nested Loop |
Previous Message | Tom Lane | 2022-07-30 23:17:12 | Re: standby recovery fails (tablespace related) (tentative patch and discussion) |