pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: tomas.vondra@postgresql.org
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Unbreak recovery test on Windows
Date: Sun, 21 Mar 2021 13:06:46 -0400
Message-ID: <5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net> (raw)
In-Reply-To: <383897.1616344715@sss.pgh.pa.us>
References: <E1lO0RZ-0004VS-7y@gemulon.postgresql.org>
	<383897.1616344715@sss.pgh.pa.us>


On 3/21/21 12:38 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Unbreak recovery test on Windows
> Hmm, looks like this broke things on other machines.
> crake and sifaka (so far) are showing
>
> # Running: pg_ctl kill KILL 2237831
> ok 3 - killed process with KILL
> ack Broken pipe: write( 13, '\\q
> ' ) at /usr/share/perl5/vendor_perl/IPC/Run/IO.pm line 549.
>
> which looks like a race condition: did we manage to stuff the "\q"
> command down the pipe before killing the psql process, or not?
>
> 			


Ugh.  Is there any reason we need to do those kills before we end the
psql processes? If not I'm tempted just to move them - after the psql's
are finished it should be safe. At any rate I'll go and test that.


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com






view thread (6+ messages)  latest in thread

Message-ID: <5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net>
Permalink:  ../5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net/
Also on:    postgresql.org/message-id/5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net

 · 

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-committers@postgresql.org
  Cc: andrew@dunslane.net, tgl@sss.pgh.pa.us, tomas.vondra@postgresql.org
  Subject: Re: pgsql: Unbreak recovery test on Windows
  In-Reply-To: <5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net>
  References: <E1lO0RZ-0004VS-7y@gemulon.postgresql.org> <383897.1616344715@sss.pgh.pa.us> <5b748470-7335-5439-e876-6a88c951e1c5@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