pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Re: pgsql: Make new crash restart test a bit more robust.
Date: Tue, 19 Sep 2017 21:42:15 -0700
Message-ID: <20170920044215.trhnbhwflzodrlnc@alap3.anarazel.de> (raw)
In-Reply-To: <20170920020038.kllxgilo7xzwmtto@alap3.anarazel.de>
References: <E1duMVQ-0006xF-Q7@gemulon.postgresql.org>
	<20170919192032.ctybexs5whww2rw6@alap3.anarazel.de>
	<28340.1505849089@sss.pgh.pa.us>
	<20170919202518.au4ngniiwdsyewbp@alap3.anarazel.de>
	<1136.1505854018@sss.pgh.pa.us>
	<20170920010629.3icid5ukemkrr42k@alap3.anarazel.de>
	<20170920020038.kllxgilo7xzwmtto@alap3.anarazel.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 2017-09-19 19:00:38 -0700, Andres Freund wrote:
> Given this fact pattern, I'll allow the case without a received error
> message in the recovery test. Objections?

Hearing none. Pushed.

While debugging this, I've also introduced a pump wrapper so that we now
get:
ok 4 - exactly one process killed with SIGQUIT
# aborting wait: program died
# stream contents: >>psql:<stdin>:9: WARNING:  terminating connection because of crash of another server process
# DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
# HINT:  In a moment you should be able to reconnect to the database and repeat your command.
# psql:<stdin>:9: server closed the connection unexpectedly
#       This probably means the server terminated abnormally
#       before or while processing the request.
# psql:<stdin>:9: connection to server was lost
# <<
# pattern searched for: (?^m:MAYDAY:  terminating connection because of crash of another server process)
not ok 5 - psql query died successfully after SIGQUIT


Greetings,

Andres Freund


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (12+ messages)  latest in thread

Message-ID: <20170920044215.trhnbhwflzodrlnc@alap3.anarazel.de>
Permalink:  ../20170920044215.trhnbhwflzodrlnc@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20170920044215.trhnbhwflzodrlnc@alap3.anarazel.de

 · 

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: andres@anarazel.de, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Re: pgsql: Make new crash restart test a bit more robust.
  In-Reply-To: <20170920044215.trhnbhwflzodrlnc@alap3.anarazel.de>
  References: <E1duMVQ-0006xF-Q7@gemulon.postgresql.org> <20170919192032.ctybexs5whww2rw6@alap3.anarazel.de> <28340.1505849089@sss.pgh.pa.us> <20170919202518.au4ngniiwdsyewbp@alap3.anarazel.de> <1136.1505854018@sss.pgh.pa.us> <20170920010629.3icid5ukemkrr42k@alap3.anarazel.de> <20170920020038.kllxgilo7xzwmtto@alap3.anarazel.de> <20170920044215.trhnbhwflzodrlnc@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