SIGTERM/SIGINT master/slave behavior

Поиск
Список
Период
Сортировка
От rihad
Тема SIGTERM/SIGINT master/slave behavior
Дата
Msg-id d8d3da4a-e58c-aa8c-dd97-2ed72d2572e4@mail.ru
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Ron
Дата:
Сообщение: Re: 10.2: high cpu usage on update statement
Следующее
От: Pavel Suderevsky
Дата:
Сообщение: Re: 9.6.11- could not truncate directory "pg_serial": apparent wraparound