Re: BUG #14150: Attempted to delete invisible tuple - Mailing list pgsql-bugs

From Peter Geoghegan
Subject Re: BUG #14150: Attempted to delete invisible tuple
Date
Msg-id CAM3SWZRE3eYZyrJz78mTNB5nG0sB47=z+S-T8HSq3h-_2PzcYQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #14150: Attempted to delete invisible tuple  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: BUG #14150: Attempted to delete invisible tuple  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
On Mon, Jun 27, 2016 at 8:28 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> Could you post it? I'd be interested in seeing that.

Attached is a reasonably minimal testcase, showing many "attempted to
delete invisible tuple" errors for me quickly and reliably. The
shellscript expects to be able to invoke pgbench without any custom
arguments, and runs the attach custom pgbench script in an infinite
loop. On my laptop, there is a roughly 90% chance that the script's 5
second pgbench runs will raise the error at least once.

If this doesn't work for you immediately, consider turning fsync off
first. That is something that I've noticed can speed up reproducing
issues like this. Although, I suspect you won't need to do that. I'm
using my standard development postgresql.conf, and so autovacuum was
disabled.

--
Peter Geoghegan

Attachment

pgsql-bugs by date:

Previous
From: Дилян Палаузов
Date:
Subject: Re: BUG #14217: Respect $CFLAGS from /usr/local/etc/config.site
Next
From: Michael Paquier
Date:
Subject: Re: BUG #14150: Attempted to delete invisible tuple