From: rihad <rihad@mail.ru>
To: pgsql-general General <pgsql-general@postgresql.org>
Subject: SIGTERM/SIGINT master/slave behavior
Date: Sat, 6 Apr 2019 17:33:21 +0400
Message-ID: <d8d3da4a-e58c-aa8c-dd97-2ed72d2572e4@mail.ru> (raw)
Hi. When master server receives smart shutdown request (TERM) does it
exit after making sure it sends all received writes to the slave
server(s), or it exits leaving the slave in an inconsistent state? What
about during fast shutdown (SIGINT)? I know that it asks current
requests to terminate immediately in that case, but what about the
replication connection? Is it safe to send SIGINT when intending to do a
manual failover?
https://www.postgresql.org/docs/10/server-shutdown.html
Thanks.
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-general@postgresql.org
Cc: rihad@mail.ru
Subject: Re: SIGTERM/SIGINT master/slave behavior
In-Reply-To: <d8d3da4a-e58c-aa8c-dd97-2ed72d2572e4@mail.ru>
References: <d8d3da4a-e58c-aa8c-dd97-2ed72d2572e4@mail.ru>
* 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