Re: [HACKERS] Logical replication launcher never been restartedwhen terminated

Поиск
Список
Период
Сортировка
От Yugo Nagata
Тема Re: [HACKERS] Logical replication launcher never been restartedwhen terminated
Дата
Msg-id 20170622140624.e8338bfc.nagata@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] Logical replication launcher never been restarted whenterminated  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Wed, 21 Jun 2017 15:17:20 -0400
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:

> On 6/21/17 13:03, Yugo Nagata wrote:
> > As I report in another thread[1], when the logical replication launcher 
> > is terminated by SIGTERM, it never been restarted and we need to restart
> > the server to enable logical replication again.
> > 
> > This is because the logical replication launcher exits with exitstatus 0,
> > so if it exits with status 1 it is restarted by the postmaster normally.
> > Attached is a simple patch to fix it in this way.
> 
> Fixed, thanks!

Thanks!

> 
> -- 
> Peter Eisentraut              http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Yugo Nagata <nagata@sraoss.co.jp>



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Fast promotion not used when doing a recovery_targetPITR restore?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] pg_terminate_backend can terminate background workersand autovacuum launchers