Re: Parallel Full Hash Join - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Parallel Full Hash Join
Date
Msg-id CA+hUKGJ3GwiPpQbfuw6o9YyEzE0CA6fO9qoOEVK-vrfVJCChBw@mail.gmail.com
Whole thread Raw
In response to Re: Parallel Full Hash Join  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Mon, Apr 10, 2023 at 11:33 AM Michael Paquier <michael@paquier.xyz> wrote:
> On Sat, Apr 08, 2023 at 02:19:54PM -0400, Melanie Plageman wrote:
> > Another worker attached to the batch barrier, saw that it was in
> > PHJ_BATCH_SCAN, marked it done and detached. This is fine.
> > BarrierArriveAndDetachExceptLast() is meant to ensure no one waits
> > (deadlock hazard) and that at least one worker stays to do the unmatched
> > scan. It doesn't hurt anything for another worker to join and find out
> > there is no work to do.
> >
> > We should simply delete this assertion.

Agreed, and pushed.  Thanks!

> I have added an open item about that.  This had better be tracked.

Thanks, will update.



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: v12: ERROR: subplan "InitPlan 2 (returns $4)" was not initialized
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert