Re: Streaming replication, and walsender during recovery

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Streaming replication, and walsender during recovery
Дата
Msg-id 4745.1263825082@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Streaming replication, and walsender during recovery  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Streaming replication, and walsender during recovery  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> When I configured a cascaded standby (i.e, made the additional
> standby server connect to the standby), I got the following
> errors, and a cascaded standby didn't start replication.

>   ERROR:  timeline 0 of the primary does not match recovery target timeline 1

> I didn't care about that case so far. To avoid a confusing error
> message, we should forbid a startup of walsender during recovery,
> and emit a suitable message? Or support such cascade-configuration?
> Though I don't think that the latter is difficult to be implemented,
> ISTM it's not the time to do that now.

It would be kind of silly to add code to forbid it if making it work
would be about the same amount of effort.  I think it'd be worth looking
closer to find out what the problem is.
        regards, tom lane


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: New XLOG record indicating WAL-skipping
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Hot Standby and handling max_standby_delay