Re: Assertion failure with barriers in parallel hash join - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Assertion failure with barriers in parallel hash join
Date
Msg-id CA+hUKGJoj-nad5n6N0H=0N4ZMOQmJzAzMJ55Fmdaun8Zrjwosg@mail.gmail.com
Whole thread Raw
In response to Re: Assertion failure with barriers in parallel hash join  (David Geier <geidav.pg@gmail.com>)
Responses Re: Assertion failure with barriers in parallel hash join
List pgsql-hackers
On Thu, Jun 2, 2022 at 9:31 PM David Geier <geidav.pg@gmail.com> wrote:
> We recently encountered the same bug in the field. Oleksii Kozlov managed to come up with reproduction steps, which
reliablytrigger it. Interestingly, the bug does not only manifest as failing assertion, but also as segmentation fault;
inbuilds with disabled and with enabled (!) assertions. So it can crash production environments. We applied the
proposedpatch v3 from Melanie to the REL_14_3 branch and can confirm that with the patch neither the assertion nor the
segmentationfault still occur. 

Thanks for the report, testing, and for creating the CF entry.

I assume you are using parallel_leader_participation=off, and the
reason we haven't heard more about this is because few people do that.
By coincidence I was just about to restart a bunch of hash join
projects and have been paging the topic area back into my brain, so
I'll start with another round of testing/analysis of this bug/patch
next week.



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Proposal: adding a better description in psql command about large objects
Next
From: Jacob Champion
Date:
Subject: Re: [PATCH] Compression dictionaries for JSONB