Re: time-delayed standbys

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: time-delayed standbys
Дата
Msg-id 26404.1303310491@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: time-delayed standbys  (Greg Stark <gsstark@mit.edu>)
Ответы Re: time-delayed standbys  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Ah, so we did put the master's clock in every message?

Yes, we did.

> Then this
> should be simple, no? Just compare the master's timestamp from the
> record to the last master's clock seen in the messages. That sounds
> equivalent but a lot safer than trying to keep a conversion between
> them.

Well, the question is what happens after you stop receiving master
messages.  If you don't make use of the slave's clock somehow,
application of WAL will stop dead in the water, which seems unlikely
to be what's wanted.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: REINDEX vs broken HOT chains, redux
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Typed table DDL loose ends