From: Tom Lane <tgl@sss.pgh.pa.us>
To: Duncan Rance <postgres@dunquino.com>
Cc: pgsql-bugs@postgresql.org
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: BUG #6425: Bus error in slot_deform_tuple
Date: Thu, 02 Feb 2012 16:44:10 -0500
Message-ID: <4909.1328219050@sss.pgh.pa.us> (raw)
In-Reply-To: <24D75B69-D387-4476-AC0D-5271FA56AB20@dunquino.com>
References: <E1RsbAk-00007G-LC@wrigleys.postgresql.org>
<15205.1328112255@sss.pgh.pa.us>
<CA+TgmoYiaJY4yKydS09ymXJmGPAT-BUHq36SBVB-8iG7bcFUxw@mail.gmail.com>
<846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com>
<24434.1328132614@sss.pgh.pa.us>
<A7CCB062-B7D1-4015-8B72-38BB3755477C@dunquino.com>
<24D75B69-D387-4476-AC0D-5271FA56AB20@dunquino.com>
Duncan Rance <postgres@dunquino.com> writes:
> At last I have been able to reproduce this problem in a relatively simple (yet contrived) way.
> I've put together a tarball with a few scripts, some to be run on the primary and others to be run on the hot-stanby. There's a README in there explaining what to do.
So far no luck reproducing any issue with this test case. I am running
two copies of import_loop.sh against the master, per your instructions,
and see occasional deadlock errors there as expected. No errors at all
on the standby though.
One question probably worth asking is what non-default GUC settings are
you using on the master and standby?
(BTW, for anyone else trying this: with multiple copies of
import_loop.sh you will get a lot of "duplicate key" failures with the
test as written. I had better luck after changing import.sh from
ts=$(perl -e 'print time')
to
ts=$$
ie use PID not timestamp as the pseudo-unique key. This could be made
more bulletproof yet, but it didn't seem worth more trouble.)
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, postgres@dunquino.com, robertmhaas@gmail.com
Subject: Re: BUG #6425: Bus error in slot_deform_tuple
In-Reply-To: <4909.1328219050@sss.pgh.pa.us>
References: <E1RsbAk-00007G-LC@wrigleys.postgresql.org> <15205.1328112255@sss.pgh.pa.us> <CA+TgmoYiaJY4yKydS09ymXJmGPAT-BUHq36SBVB-8iG7bcFUxw@mail.gmail.com> <846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com> <24434.1328132614@sss.pgh.pa.us> <A7CCB062-B7D1-4015-8B72-38BB3755477C@dunquino.com> <24D75B69-D387-4476-AC0D-5271FA56AB20@dunquino.com> <4909.1328219050@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox