pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: levertond@googlemail.com
Cc: pgsql-bugs@postgresql.org
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process
Date: Mon, 9 Jun 2014 16:24:53 +0200
Message-ID: <20140609142453.GF3149@alap3.anarazel.de> (raw)
In-Reply-To: <28011.1402323714@sss.pgh.pa.us>
References: <20140605180121.3061.28250@wrigleys.postgresql.org>
	<5390BA0F.2030103@vmware.com>
	<20140605213436.GA17217@awork2.anarazel.de>
	<20140609124616.GC3149@alap3.anarazel.de>
	<5395B0C6.2070000@vmware.com>
	<28011.1402323714@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2014-06-09 10:21:54 -0400, Tom Lane wrote:
> Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> > On 06/09/2014 03:46 PM, Andres Freund wrote:
> >> Before I start working on a patch along those lines, do you see any
> >> problems with making the critical section smaller?
> 
> > One subtle difference is that the PD_ALL_VISIBLE flag will not be 
> > included in the full-page-image that log_heap_page() might take. But 
> > that seems OK. visibilitymap_set() writes a WAL record that sets it at 
> > replay.
> 
> Huh?  The visibility map call is after the page image would be taken in
> any case.

But the heap_page_is_all_visible() and PageSetAllVisible() currently
aren't. And both would have to be moved to fix the issue...

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



view thread (21+ messages)  latest in thread

Message-ID: <20140609142453.GF3149@alap3.anarazel.de>
Permalink:  ../20140609142453.GF3149@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20140609142453.GF3149@alap3.anarazel.de

 · 

reply

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, hlinnakangas@vmware.com, levertond@googlemail.com, alvherre@2ndquadrant.com
  Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process
  In-Reply-To: <20140609142453.GF3149@alap3.anarazel.de>
  References: <20140605180121.3061.28250@wrigleys.postgresql.org> <5390BA0F.2030103@vmware.com> <20140605213436.GA17217@awork2.anarazel.de> <20140609124616.GC3149@alap3.anarazel.de> <5395B0C6.2070000@vmware.com> <28011.1402323714@sss.pgh.pa.us> <20140609142453.GF3149@alap3.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