Re: Keepalive for max_standby_delay

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Keepalive for max_standby_delay
Дата
Msg-id 4C06987A.5040306@dunslane.net
обсуждение исходный текст
Ответ на Re: Keepalive for max_standby_delay  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> I'm still inclined to apply the part of Simon's patch that adds a
> transmit timestamp to each SR send chunk.  That would actually be
> completely unused by the slave given my proposal above, but I think that
> it is an important step to take to future-proof the SR protocol against
> possible changes in the slave-side timing logic.  
>   

+1.
From a radically different perspective, I had to do something similar 
in the buildfarm years ago to protect us from machines reporting with 
grossly inaccurate timestamps. This was part of the solution. The client 
adds its current timestamp setting just before transmitting the data to 
the server.

cheers

andrew


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Synchronization levels in SR
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Keepalive for max_standby_delay