Re: Refactor recovery conflict signaling a little - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Refactor recovery conflict signaling a little
Date
Msg-id f3316196-1a9e-4f70-a484-a8d5bb2cc235@iki.fi
Whole thread Raw
In response to Re: Refactor recovery conflict signaling a little  (Xuneng Zhou <xunengzhou@gmail.com>)
Responses Re: Refactor recovery conflict signaling a little
List pgsql-hackers
On 09/03/2026 17:02, Xuneng Zhou wrote:
> Did you use Alexander’s reproducer script? I tried reproducing with a
> 1 ms pg_usleep() added to all three functions that clear
> MyProc->pendingRecoveryConflicts, but I still couldn’t reproduce the
> issue.

I used the attached, to be precise. With that it fails every time for 
me. I'm not sure if the "if (am_walsender)" check is necessary, I added 
it just to make the test run faster.

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Ahmed Amr
Date:
Subject: Question about foreign-key-based join removal in analyzejoins.c
Next
From: Heikki Linnakangas
Date:
Subject: Re: pg_combinebackup: incorrect size of VM fork after combine