Re: Archiver not picking up changes to archive_command

Поиск
Список
Период
Сортировка
От bricklen
Тема Re: Archiver not picking up changes to archive_command
Дата
Msg-id AANLkTinHuEBR1GuARRcJk-HHC-dnhobAILP_Q2c3QaB4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Archiver not picking up changes to archive_command  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, May 10, 2010 at 5:50 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> A look at the code shows that the archiver only notices SIGHUP once
> per outer loop, so the change would only take effect once you catch up,
> which is not going to help much in this case.  Possibly we should change
> it to check for SIGHUP after each archive_command execution.
>
> If you kill -9 the archiver process, the postmaster will just start
> a new one, but realize that that would result in two concurrent
> rsync's.  It might work ok to kill -9 the archiver and the current
> rsync in the same command.
>
>                        regards, tom lane
>

I think I'll just wait it out, then sighup.

Thanks for looking into this.

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: peer-to-peer replication with Postgres
Следующее
От: bricklen
Дата:
Сообщение: Re: Archiver not picking up changes to archive_command