SIGTERM/SIGINT master/slave behavior

From: rihad <rihad(at)mail(dot)ru>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: SIGTERM/SIGINT master/slave behavior
Date: 2019-04-06 13:33:21
Message-ID: d8d3da4a-e58c-aa8c-dd97-2ed72d2572e4@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Suderevsky 2019-04-06 14:31:08 Re: 9.6.11- could not truncate directory "pg_serial": apparent wraparound
Previous Message Ron 2019-04-06 05:51:32 Re: 10.2: high cpu usage on update statement