|From:||Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>|
|To:||Jonathon Nelson <jdnelson(at)dyn(dot)com>|
|Subject:||Re: BUG #14416: checkpoints never completed|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
Jonathon Nelson <jdnelson(at)dyn(dot)com> writes:
> On Mon, Nov 7, 2016 at 1:22 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I wonder if this is a problem similar to the autovacuum issue we fixed
>> in da1a9d0f5, ie perhaps moving the system clock setting confuses the
>> checkpoint timing logic.
> That is more or less what we were thinking as well.
Looking at the logic around this in checkpointer.c, it's pretty obvious
that it would not behave nicely if system time goes backwards after a
checkpoint starts; it would think it was ahead of schedule and would
just loaf, basically, until the clock catches up to where it had been.
There's no sanity check to notice a negative elapsed-time reading.
But if system time goes forwards, it would think it was very far behind
schedule and would do a burst of work, which doesn't seem to match your
Please confirm the sign of the system clock correction that happened
on your machine?
regards, tom lane
|Next Message||Michael Paquier||2016-11-08 01:33:28||Re: Re: BUG #13755: pgwin32_is_service not checking if SECURITY_SERVICE_SID is disabled|
|Previous Message||MauMau||2016-11-07 21:47:52||Re: Re: BUG #13755: pgwin32_is_service not checking if SECURITY_SERVICE_SID is disabled|