From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Alexander Lakhin <exclusion(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Why is src/test/modules/committs/t/002_standby.pl flaky? |
Date: | 2022-01-10 02:00:19 |
Message-ID: | CA+hUKG+9kOBvurZoouprt0it=7XutQR17NMpfTeyYJNyc6V_5w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jan 10, 2022 at 8:06 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> On Mon, Jan 10, 2022 at 12:00 AM Alexander Lakhin <exclusion(at)gmail(dot)com> wrote:
> > Going down through the call chain, I see that at the end of it
> > WaitForMultipleObjects() hangs while waiting for the primary connection
> > socket event. So it looks like the socket, that is closed by the
> > primary, can get into a state unsuitable for WaitForMultipleObjects().
>
> I wonder if FD_CLOSE is edge-triggered, and it's already told us once.
Can you reproduce it with this patch?
Attachment | Content-Type | Size |
---|---|---|
0001-Make-Windows-FD_CLOSE-reporting-sticky.patch | text/x-patch | 2.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-01-10 02:17:46 | Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory |
Previous Message | Bharath Rupireddy | 2022-01-10 01:20:02 | Re: Is it worth adding ReplicationSlot active_pid to ReplicationSlotPersistentData? |