From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Unstable tests for recovery conflict handling |
Date: | 2022-07-26 20:03:54 |
Message-ID: | 20220726200354.hunrcu6zfjakxfnk@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Hi,
On 2022-07-26 14:30:30 -0400, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2022-07-26 13:57:53 -0400, Tom Lane wrote:
> >> So this is not a case of RecoveryConflictInterrupt doing the wrong thing:
> >> the startup process hasn't detected the buffer conflict in the first
> >> place.
>
> > I wonder if this, at least partially, could be be due to the elog thing
> > I was complaining about nearby. I.e. we decide to FATAL as part of a
> > recovery conflict interrupt, and then during that ERROR out as part of
> > another recovery conflict interrupt (because nothing holds interrupts as
> > part of FATAL).
>
> There are all sorts of things one could imagine going wrong in the
> backend receiving the recovery conflict interrupt, but AFAICS in these
> failures, the startup process hasn't sent a recovery conflict interrupt.
> It certainly hasn't logged anything suggesting it noticed a conflict.
I don't think we reliably emit a log message before the recovery
conflict is resolved.
I've wondered a couple times now about making tap test timeouts somehow
trigger a core dump of all processes. Certainly would make it easier to
debug some of these kinds of issues.
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2022-07-27 04:34:48 | Re: pgsql: Remove the restriction that the relmap must be 512 bytes. |
Previous Message | Tom Lane | 2022-07-26 19:38:28 | pgsql: Improve makeArrayTypeName's algorithm for choosing array type na |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2022-07-26 20:25:35 | Re: Transparent column encryption |
Previous Message | Tom Lane | 2022-07-26 19:47:18 | Re: Postgres do not allow to create many tables with more than 63-symbols prefix |