Re: Streaming replication, and walsender during recovery

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Streaming replication, and walsender during recovery
Дата
Msg-id 1263886870.3642.6161.camel@ebony
обсуждение исходный текст
Ответ на Re: Streaming replication, and walsender during recovery  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Streaming replication, and walsender during recovery  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Tue, 2010-01-19 at 15:04 +0900, Fujii Masao wrote:
> >
> > There is an ERROR, but no problem AFAICS. The tli isn't set until end of
> > recovery because it doesn't need to have been set yet. That shouldn't
> > prevent retrieving WAL data.
> 
> OK. Here is the patch which supports a walsender process during recovery;
> 
> * Change walsender so as to send the WAL written by the walreceiver
>   if it has been started during recovery.
> * Kill the walsenders started during recovery at the end of recovery
>   because replication cannot survive the change of timeline ID.

Good patch.

I think we need to add a longer comment explaining the tli issues. I
agree with your handling of them.

It would be useful to have the ps display differentiate between multiple
walsenders, and in this case have it indicate cascading also.

-- Simon Riggs           www.2ndQuadrant.com



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Listen / Notify - what to do when the queue is full
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch: Remove gcc dependency in definition of inline functions