| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера