Re: Odd, intermittent failure in contrib/pageinspect

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Odd, intermittent failure in contrib/pageinspect
Date: 2021-01-18 22:35:00
Message-ID: 416195.1611009300@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> On 2021-Jan-18, Tom Lane wrote:
>> Searching the buildfarm logs turned up exactly one previous occurrence,
>> also on whelk [2]. So I'm not sure what to make of it. Could the
>> immediately preceding VACUUM FREEZE command have silently skipped this
>> page for some reason? That'd be a bug I should think.

> Hmm, doesn't vacuum skip pages when they are pinned? I don't think
> VACUUM FREEZE would be treated especially -- only "aggressive"
> wraparound would be an exception, IIRC.

Right. If that's the explanation, then adding DISABLE_PAGE_SKIPPING
to the test's VACUUM options should fix it. However, to believe that
theory you have to have some reason to think that some other process
might have the page pinned. What would that be? test1 only has one
small tuple in it, so it doesn't seem credible that autovacuum or
autoanalyze would have fired on it.

[ thinks for a bit... ] Does the checkpointer pin pages it's writing
out? I guess it'd have to ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2021-01-18 22:40:05 Re: Odd, intermittent failure in contrib/pageinspect
Previous Message Alvaro Herrera 2021-01-18 22:30:19 Re: Odd, intermittent failure in contrib/pageinspect