Re: [HACKERS] logical replication and PANIC during shutdowncheckpoint in publisher
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: [HACKERS] logical replication and PANIC during shutdowncheckpoint in publisher |
| Дата | |
| Msg-id | 562ce063-0739-1dce-932d-b75465ff88bf@2ndquadrant.com обсуждение |
| Ответ на | Re: [HACKERS] logical replication and PANIC during shutdowncheckpoint in publisher (Petr Jelinek <petr.jelinek@2ndquadrant.com>) |
| Ответы |
Re: [HACKERS] logical replication and PANIC during shutdowncheckpoint in publisher
|
| Список | pgsql-hackers |
On 4/20/17 07:52, Petr Jelinek wrote: > On 20/04/17 05:57, Michael Paquier wrote: >> 2nd thoughts here... Ah now I see your point. True that there is no >> way to ensure that an unwanted command is not running when SIGUSR2 is >> received as the shutdown checkpoint may have already begun. Here is an >> idea: add a new state in WalSndState, say WALSNDSTATE_STOPPING, and >> the shutdown checkpoint does not run as long as all WAL senders still >> running do not reach such a state. > > +1 to this solution Michael, can you attempt to supply a patch? -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера