From: Andres Freund <andres@anarazel.de>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
Date: Fri, 12 Oct 2018 14:52:24 -0700
Message-ID: <20181012215224.ykvphenx32j54oou@alap3.anarazel.de> (raw)
In-Reply-To: <e374e39c-be3f-43a1-0257-ff349fc313d7@2ndQuadrant.com>
References: <E1gAl9R-00015q-Nl@gemulon.postgresql.org>
<97ce0d10-9105-940c-f843-b9c0b6de4941@2ndQuadrant.com>
<e374e39c-be3f-43a1-0257-ff349fc313d7@2ndQuadrant.com>
On 2018-10-12 17:46:17 -0400, Andrew Dunstan wrote:
>
>
> On 10/12/2018 05:14 PM, Andrew Dunstan wrote:
> >
> >
> > On 10/11/2018 08:17 PM, Michael Paquier wrote:
> > > Add TAP tests for pg_verify_checksums
> > >
> > > All options available in the utility get coverage:
> > > - Tests with disabled page checksums.
> > > - Tests with enabled test checksums.
> > > - Emulation of corruption and broken checksums with a full scan and
> > > single relfilenode scan.
> > >
> > > This patch has been contributed mainly by Michael Banck and Magnus
> > > Hagander with things presented on various threads, and I have gathered
> > > all the contents into a single patch.
> > >
> > > Author: Michael Banck, Magnus Hagander, Michael Paquier
> > > Reviewed-by: Peter Eisentraut
> > > Discussion: https://postgr.es/m/20181005012645.GE1629@paquier.xyz
> >
> >
> > We have some failures here on Windows. I suspect we might need to do a
> > little more surgery like was done in commit
> > efd7f8e36553cd32e445061cbbc80d32028f4248
> >
> >
>
> No, hah, I see what it's doing. It's trying to checksum a non-data file that
> only exists in the EXEC_BACKEND case:
>
> pg_verify_checksums: could not read block 0 in file "G:/prog/bf/root/HEAD/pgsql.build/src/bin/pg_verify_checksums/tmp_check/t_002_actions_node_checksum_data/pgdata/global/config_exec_params": read 4843 of 8192
>
> This gadget needs to learn to exclude such files.
See conversation around http://archives.postgresql.org/message-id/20181012060543.GE30064%40paquier.xyz
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-committers@postgresql.org
Cc: andres@anarazel.de, andrew.dunstan@2ndquadrant.com, michael@paquier.xyz
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
In-Reply-To: <20181012215224.ykvphenx32j54oou@alap3.anarazel.de>
References: <E1gAl9R-00015q-Nl@gemulon.postgresql.org> <97ce0d10-9105-940c-f843-b9c0b6de4941@2ndQuadrant.com> <e374e39c-be3f-43a1-0257-ff349fc313d7@2ndQuadrant.com> <20181012215224.ykvphenx32j54oou@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