Re: Missed condition-variable wakeups on FreeBSD - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Missed condition-variable wakeups on FreeBSD
Date
Msg-id CA+hUKG+F8G-6WJvw2pcnQwAVenGofAQDKAy9RPkBrqpBML6z+g@mail.gmail.com
Whole thread Raw
In response to Re: Missed condition-variable wakeups on FreeBSD  (Melanie Plageman <melanieplageman@gmail.com>)
List pgsql-hackers
On Sun, Feb 27, 2022 at 11:18 AM Melanie Plageman
<melanieplageman@gmail.com> wrote:
> How could it be that worker 2 is waiting on the build barrier in
> PHJ_BUILD_HASHING_INNER and worker 1 and the leader are waiting on it
> with it supposedly in PHJ_BUILD_HASHING_OUTER?

That'd be consistent with a wakeup going missing, somehow.  W2 was
supposed to be released but somehow didn't get the message (until a
random debugger-induced EINTR releases it and it sees all the state it
needs to proceed in shared memory), meanwhile the other two got to the
end of the next phase and are waiting for it.



pgsql-hackers by date:

Previous
From: "kuroda.hayato@fujitsu.com"
Date:
Subject: RE: Logical replication timeout problem
Next
From: Brar Piening
Date:
Subject: Re: Add id's to various elements in protocol.sgml