From: Andrew Dunstan <andrew@dunslane.net>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Re-enable TAP tests of pg_receivewal for ZLIB on Windows
Date: Fri, 30 Jul 2021 07:42:45 -0400
Message-ID: <27c00b6b-f858-daeb-6561-bbbae76d463c@dunslane.net> (raw)
In-Reply-To: <YQNH5NbE4JwVHa2s@paquier.xyz>
References: <E1m5gLs-0005tH-Jk@gemulon.postgresql.org>
<9040d5ed-6462-66a4-07ac-2923785ae563@dunslane.net>
<YPdfuyUga6yMPOqX@paquier.xyz>
<f1e1d188-e540-1f3e-d942-3f365e951cec@dunslane.net>
<YPi1D67DdsYZyaIG@paquier.xyz>
<7fffc966-0d54-61c9-63ac-b84fd1a1e86e@dunslane.net>
<eafc8cc6-43c6-3a2b-d67b-7bd05ab68d0f@dunslane.net>
<ec093ff1-a53c-0091-46a2-4537354b0dd4@dunslane.net>
<YQNH5NbE4JwVHa2s@paquier.xyz>
On 7/29/21 8:29 PM, Michael Paquier wrote:
> On Thu, Jul 29, 2021 at 01:26:22PM -0400, Andrew Dunstan wrote:
>> It gets stuck in a loop like this:
>>
>> ok 19 - one partial WAL segment was created
>> 0/2001968
>> # Running: pg_receivewal -D H:/prog/bf/root/HEAD/pgsql.build/src/bin/pg_basebackup/tmp_check/t_020_pg_receivewal_primary_data/archive_wal --verbose --endpos 0/3000028 --compress 1
>> pg_receivewal: starting log streaming at 0/2000000 (timeline 1)
>> pg_receivewal: error: could not write 131072 bytes to WAL file "000000010000000000000002": Permission denied
>> pg_receivewal: error: could not close file "000000010000000000000002": Permission denied
>> pg_receivewal: disconnected; waiting 5 seconds to try again
> Hmm. This error is strange. Still, it is an oversight of ffc9ddae to
> not use --no-loop here for the two new commands of pg_receivewal
> --endpos. Please see the attached.
Well that unsticks the test, so now it fails in an ordinary way, so +1
for doing that. I must say that --no-loop seems a little ill-designed.
Effectively we have to choose between zero loops and infinite loops.
But that seems to be a matter of ancient (or at least medieval) history.
I will see if a more modern zlib helps matters.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
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: andrew@dunslane.net, michael@paquier.xyz
Subject: Re: pgsql: Re-enable TAP tests of pg_receivewal for ZLIB on Windows
In-Reply-To: <27c00b6b-f858-daeb-6561-bbbae76d463c@dunslane.net>
References: <E1m5gLs-0005tH-Jk@gemulon.postgresql.org> <9040d5ed-6462-66a4-07ac-2923785ae563@dunslane.net> <YPdfuyUga6yMPOqX@paquier.xyz> <f1e1d188-e540-1f3e-d942-3f365e951cec@dunslane.net> <YPi1D67DdsYZyaIG@paquier.xyz> <7fffc966-0d54-61c9-63ac-b84fd1a1e86e@dunslane.net> <eafc8cc6-43c6-3a2b-d67b-7bd05ab68d0f@dunslane.net> <ec093ff1-a53c-0091-46a2-4537354b0dd4@dunslane.net> <YQNH5NbE4JwVHa2s@paquier.xyz> <27c00b6b-f858-daeb-6561-bbbae76d463c@dunslane.net>
* 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