Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wu0VT-0002Jw-KJ for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jun 2014 14:25:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wu0VT-0007Ca-4o for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jun 2014 14:25:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wu0VS-0007CQ-Eb for pgsql-bugs@postgresql.org; Mon, 09 Jun 2014 14:25:02 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wu0VK-0005JR-TV for pgsql-bugs@postgresql.org; Mon, 09 Jun 2014 14:25:00 +0000 Received: from intern.anarazel.de (p5DDC4D2D.dip0.t-ipconnect.de [93.220.77.45]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id F24024E8006; Mon, 9 Jun 2014 16:24:53 +0200 (CEST) Date: Mon, 9 Jun 2014 16:24:53 +0200 From: Andres Freund To: Tom Lane Cc: Heikki Linnakangas , levertond@googlemail.com, pgsql-bugs@postgresql.org, Alvaro Herrera Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28011.1402323714@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2014-06-09 10:21:54 -0400, Tom Lane wrote: > Heikki Linnakangas 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