From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Keith Fiske <keith@omniti.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: levertond@googlemail.com
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process
Date: Sat, 7 Jun 2014 00:05:37 +0200
Message-ID: <20140606220537.GC23201@awork2.anarazel.de> (raw)
In-Reply-To: <13635.1402092233@sss.pgh.pa.us>
References: <20140605180121.3061.28250@wrigleys.postgresql.org>
<5390BA0F.2030103@vmware.com>
<20140605213436.GA17217@awork2.anarazel.de>
<CAG1_KcB-L6AMka5NZ+JU8=0o7T9i-dqW0d90rgCnmoaSswBtaA@mail.gmail.com>
<20140606205557.GX5146@eldon.alvh.no-ip.org>
<20140606205801.GB23201@awork2.anarazel.de>
<13635.1402092233@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2014-06-06 18:03:53 -0400, Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > On 2014-06-06 16:55:58 -0400, Alvaro Herrera wrote:
> >> Uh, this is a completely different problem. We discussed long ago that
> >> those pallocs in relpath() were going to cause a problem:
>
> > I actually don't think it's a different problem. If we'd restructure
> > things so the critical sections are separate this wouldn't be a
> > problem. It's imo not a particularly good idea to mdopen() inside a
> > critical section either.
>
> The point here seems to be that lazy_vacuum_page does the visibility map
> ops inside its own critical section. Why? Setting a visibility bit
> doesn't seem like it's critical. Why can't we just move the
> END_CRIT_SECTION() to before the PageIsAllVisible test?
Yea, that's what I am proposing upthread. If we move the visibility
tests out of the critical section this will get rid of the original
report as well.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: andres@2ndquadrant.com, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, keith@omniti.com, hlinnakangas@vmware.com, levertond@googlemail.com
Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process
In-Reply-To: <20140606220537.GC23201@awork2.anarazel.de>
References: <20140605180121.3061.28250@wrigleys.postgresql.org> <5390BA0F.2030103@vmware.com> <20140605213436.GA17217@awork2.anarazel.de> <CAG1_KcB-L6AMka5NZ+JU8=0o7T9i-dqW0d90rgCnmoaSswBtaA@mail.gmail.com> <20140606205557.GX5146@eldon.alvh.no-ip.org> <20140606205801.GB23201@awork2.anarazel.de> <13635.1402092233@sss.pgh.pa.us> <20140606220537.GC23201@awork2.anarazel.de>
* 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