Re: Missed condition-variable wakeups on FreeBSD

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Missed condition-variable wakeups on FreeBSD
Date: 2022-02-28 11:02:08
Message-ID: CA+hUKG+F8G-6WJvw2pcnQwAVenGofAQDKAy9RPkBrqpBML6z+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Feb 27, 2022 at 11:18 AM Melanie Plageman
<melanieplageman(at)gmail(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brar Piening 2022-02-28 11:17:11 Re: Add id's to various elements in protocol.sgml
Previous Message kuroda.hayato@fujitsu.com 2022-02-28 10:58:15 RE: Logical replication timeout problem