pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Andres Freund <andres@2ndquadrant.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, 09 Jun 2014 16:04:06 +0300
Message-ID: <5395B0C6.2070000@vmware.com> (raw)
In-Reply-To: <20140609124616.GC3149@alap3.anarazel.de>
References: <20140605180121.3061.28250@wrigleys.postgresql.org>
	<5390BA0F.2030103@vmware.com>
	<20140605213436.GA17217@awork2.anarazel.de>
	<20140609124616.GC3149@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 06/09/2014 03:46 PM, Andres Freund wrote:
>> >I haven't thought particularly much about this, but I don't really see
>> >why the heap_page_is_all_visible() bit needs to be in a critical
>> >section? Can't we just do that entire bit after the log_heap_clean()?
>> >Then the heap_page_is_all_visible() can be done outside a critical
>> >section.
> 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.

- Heikki


-- 
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: <5395B0C6.2070000@vmware.com>
Permalink:  ../5395B0C6.2070000@vmware.com/
Also on:    postgresql.org/message-id/5395B0C6.2070000@vmware.com

 · 

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: hlinnakangas@vmware.com, andres@2ndquadrant.com, levertond@googlemail.com, alvherre@2ndquadrant.com
  Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process
  In-Reply-To: <5395B0C6.2070000@vmware.com>
  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>

* 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