Re: Streaming base backups

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Streaming base backups
Дата
Msg-id AANLkTik4QQWe5-m5uro-rNzkT4CH8TXPPvOr_9bOQMz3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming base backups  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Streaming base backups  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Mon, Jan 10, 2011 at 11:09 PM, Magnus Hagander <magnus@hagander.net> wrote:
> I've committed the backend side of this, without that. Still working
> on the client, and on cleaning up Heikki's patch for grammar/parser
> support.

Great work!

I have some comments:

While walsender is sending a base backup, WalSndWakeup should
not send the signal to that walsender?

In sendFile or elsewhere, we should periodically check whether
postmaster is alive and whether the flag was set by the signal?

At the end of the backup by walsender, it forces a switch to a new
WAL file and waits until the last WAL file has been archived. So we
should change postmaster so that it doesn't cause the archiver to
end before walsender ends when shutdown is requested?

Also, when shutdown is requested, the walsender which is
streaming WAL should not end before another walsender which
is sending a backup ends, to stream the backup-end WAL?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: marcin mank
Дата:
Сообщение: Re: Allowing multiple concurrent base backups
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: Re: multiset patch review