Failure in subscription test 004_sync.pl - Mailing list pgsql-hackers

From Michael Paquier
Subject Failure in subscription test 004_sync.pl
Date
Msg-id YMRlmB3/lZw8YBH+@paquier.xyz
Whole thread Raw
Responses Re: Failure in subscription test 004_sync.pl
List pgsql-hackers
Hi all,

wrasse has just failed with what looks like a timing error with a
replication slot drop:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=wrasse&dt=2021-06-12%2006%3A16%3A30

Here is the error:
error running SQL: 'psql:<stdin>:1: ERROR:  could not drop replication
slot "tap_sub" on publisher: ERROR:  replication slot "tap_sub" is
active for PID 1641'

It seems to me that this just lacks a poll_query_until() doing some
slot monitoring?  I have not checked in details if we need to do that
in more places.  The code path that failed has been added in 7c4f524
from 2017.

Thanks,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Han Wang
Date:
Subject: Re: Questions about support function and abbreviate
Next
From: Michael Paquier
Date:
Subject: Re: Race condition in recovery?