Re: SKIP LOCKED assert triggered

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>
Cc: "Bossart, Nathan" <bossartn(at)amazon(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SKIP LOCKED assert triggered
Date: 2022-01-04 16:13:23
Message-ID: 202201041613.7gdtatngoc2l@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2022-Jan-04, Alvaro Herrera wrote:

> On 2022-Jan-03, Alvaro Herrera wrote:
>
> > What I don't understand is why hasn't this been reported already: this
> > bug is pretty old. My only explanation is that nobody runs sufficiently-
> > concurrent load with SKIP LOCKED in assert-enabled builds.
>
> Pushed, thanks Simon for reporting this problem.

Wow, what an embarrassing problem this fix has.

--
Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/
"Pensar que el espectro que vemos es ilusorio no lo despoja de espanto,
sólo le suma el nuevo terror de la locura" (Perelandra, C.S. Lewis)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-01-04 16:15:30 Re: SKIP LOCKED assert triggered
Previous Message Alvaro Herrera 2022-01-04 16:03:38 Re: SKIP LOCKED assert triggered