Re: Assertion failure with barriers in parallel hash join

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Assertion failure with barriers in parallel hash join
Date: 2020-10-12 23:18:11
Message-ID: CA+hUKGK3Vr_w0fyrvVj0-kCfJ_bEsXzrZsgG4Bxre+nFApQ3bA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 13, 2020 at 12:15 PM Melanie Plageman
<melanieplageman(at)gmail(dot)com> wrote:
> On Thu, Oct 1, 2020 at 8:08 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
>> On Tue, Sep 29, 2020 at 9:12 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
>> Here's a throw-away patch to add some sleeps that trigger the problem,
>> and a first draft fix. I'll do some more testing of this next week
>> and see if I can simplify it.
>
> I was just taking a look at the patch and noticed the commit message
> says:
>
> > With unlucky timing and parallel_leader_participation off...
>
> Is parallel_leader_participation being off required to reproduce the
> issue?

Yeah, because otherwise the leader detaches last so the problem doesn't arise.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2020-10-12 23:23:50 Re: Resetting spilled txn statistics in pg_stat_replication
Previous Message Melanie Plageman 2020-10-12 23:14:51 Re: Assertion failure with barriers in parallel hash join