SIGTERM/SIGINT master/slave behavior - Mailing list pgsql-general

From rihad
Subject SIGTERM/SIGINT master/slave behavior
Date
Msg-id d8d3da4a-e58c-aa8c-dd97-2ed72d2572e4@mail.ru
Whole thread Raw
List 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.




pgsql-general by date:

Previous
From: Ron
Date:
Subject: Re: 10.2: high cpu usage on update statement
Next
From: Pavel Suderevsky
Date:
Subject: Re: 9.6.11- could not truncate directory "pg_serial": apparent wraparound