Re: Auto-vacuum is not running in 9.1.12 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Auto-vacuum is not running in 9.1.12
Date
Msg-id 45153.1434817879@sss.pgh.pa.us
Whole thread Raw
In response to Re: Auto-vacuum is not running in 9.1.12  (Prakash Itnal <prakash074@gmail.com>)
Responses Re: Auto-vacuum is not running in 9.1.12  (Prakash Itnal <prakash074@gmail.com>)
List pgsql-hackers
Prakash Itnal <prakash074@gmail.com> writes:
> Sorry for the late response. The current patch only fixes the scenario-1
> listed below. It will not address the scenario-2. Also we need a fix in
> unix_latch.c where the remaining sleep time is evaluated, if latch is woken
> by other events (or result=0). Here to it is possible the latch might go in
> long sleep if time shifts to past time.

Forcing WL_TIMEOUT if the clock goes backwards seems like quite a bad
idea to me.  That seems like a great way to make a bad situation worse,
ie it induces failures where there were none before.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pg_stat_*_columns?
Next
From: Simon Riggs
Date:
Subject: Re: Extension support for postgres_fdw