From: marc47marc47@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14143: stop database with -m immediate cause fatal message log when database start
Date: Tue, 17 May 2016 04:14:28 +0000
Message-ID: <20160517041428.24296.64042@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14143
Logged by: marc hsiao
Email address: marc47marc47@gmail.com
PostgreSQL version: 9.6beta1
Operating system: Centos 5.4
Description:
The database start with FATAL message when I try to stop the database with
immediate.
I assume that FATAL, is a critical error log, it should be an warning
only.
My application will not continue when database has FATAL log in starting
progress.
[dbsecure@rd4 (SecuCenter_) SecureCenter]$pg_ctl stop -m immediate
waiting for server to shut down....LOG: received immediate shutdown
request
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.
LOG: database system is shut down
done
server stopped
[dbsecure@rd4 (SecuCenter_) SecureCenter]$pg_ctl -D ./data -w start
waiting for server to start....LOG: database system was interrupted; last
known up at 2016-05-17 12:03:09 CST
FATAL: the database system is starting up
.LOG: database system was not properly shut down; automatic recovery in
progress
LOG: invalid record length at 0/7A5F770: wanted 24, got 0
LOG: redo is not required
LOG: MultiXact member wraparound protections are now enabled
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
done
server started
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: marc47marc47@gmail.com
Subject: Re: BUG #14143: stop database with -m immediate cause fatal message log when database start
In-Reply-To: <20160517041428.24296.64042@wrigleys.postgresql.org>
References: <20160517041428.24296.64042@wrigleys.postgresql.org>
* 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