Re: Explanation for intermittent buildfarm pg_upgradecheck failures

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Explanation for intermittent buildfarm pg_upgradecheck failures
Дата
Msg-id CAB7nPqRQUd8Nh+KEimB+Oqx25zYamJuVHVwrjhZ3Vgk_8ax+iw@mail.gmail.com
обсуждение исходный текст
Ответ на Explanation for intermittent buildfarm pg_upgradecheck failures  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Aug 3, 2015 at 1:30 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I haven't looked to find out why the unlinks happen in this order, but on
> a heavily loaded machine, it's certainly possible that the process would
> lose the CPU after unlink("postmaster.pid"), and then a new postmaster
> could get far enough to see the socket lock file still there.  So that
> would account for low-probability failures in the pg_upgradecheck test,
> which is exactly what we've been seeing.

Oh... This may explain the different failures seen with TAP tests on
hamster, and axolotl with pg_upgrade as well. It is rather easy to get
them heavily loaded.
-- 
Michael



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

Предыдущее
От: Kouhei Kaigai
Дата:
Сообщение: Re: nodes/*funcs.c inconsistencies
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Improving test coverage of extensions with pg_dump