Re: [HACKERS] Re: [COMMITTERS] pgsql: Make new crash restart test abit more robust. - Mailing list pgsql-committers

From Andres Freund
Subject Re: [HACKERS] Re: [COMMITTERS] pgsql: Make new crash restart test abit more robust.
Date
Msg-id 20170920044215.trhnbhwflzodrlnc@alap3.anarazel.de
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Make new crash restart test a bit morerobust.  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] Re: [COMMITTERS] pgsql: Make new crash restart test abit more robust.  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-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
anotherserver 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

pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: [COMMITTERS] pgsql: Accept that server might not be able to send error in crashreco
Next
From: Andres Freund
Date:
Subject: [COMMITTERS] pgsql: Make WAL segment size configurable at initdb time.