Re: Time-Delayed Standbys

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Time-Delayed Standbys
Дата
Msg-id 52A5B499.3060008@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Time-Delayed Standbys  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Time-Delayed Standbys
Список pgsql-hackers
On 12/04/2013 02:46 AM, Robert Haas wrote:
>> Thanks for your review Christian...
> 
> So, I proposed this patch previously and I still think it's a good
> idea, but it got voted down on the grounds that it didn't deal with
> clock drift.  I view that as insufficient reason to reject the
> feature, but others disagreed.  Unless some of those people have
> changed their minds, I don't think this patch has much future here.

Surely that's the operating system / VM host / sysadmin / whatever's
problem?

The only way to "deal with" clock drift that isn't fragile in the face
of variable latency, etc, is to basically re-implement (S)NTP in order
to find out what the clock difference with the remote is.

If we're going to do that, why not just let the OS deal with it?

It might well be worth complaining about obvious aberrations like
timestamps in the local future - preferably by complaining and not
actually dying. It does need to be able to cope with a *skewing* clock,
but I'd be surprised if it had any issues there in the first place.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: "MauMau"
Дата:
Сообщение: Re: Recovery to backup point
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Recovery to backup point