Re: AutoVacuum starvation from sinval messages

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: AutoVacuum starvation from sinval messages
Date: 2012-11-09 01:07:22
Message-ID: 25111.1352423242@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
>> Hmm. That seems like a problem, all right, but I don't believe the
>> claim that it applies only to the poll() code path. On many platforms
>> the select() path would have the same issue.

> BTW, doesn't win32_latch.c have the identical problem? I don't see it
> updating the timeout after a signal, either.

I've committed a patch for this, but the win32_latch version is entirely
innocent of any testing. The buildfarm will probably show any mistake
there, but if someone would like to try Jeff's test case on Windows just
to make sure the autovac launcher wakes up on time, it wouldn't hurt.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2012-11-09 02:01:10 Re: commit 1eb1dde049ccfffc42c80c2 broke make -j2
Previous Message Jeff Davis 2012-11-09 01:01:41 Enabling Checksums