Re: Re: Better way of dealing with pgstat wait timeout during buildfarm runs?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Better way of dealing with pgstat wait timeout during buildfarm runs?
Дата
Msg-id 28560.1421687101@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Better way of dealing with pgstat wait timeout during buildfarm runs?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Re: Better way of dealing with pgstat wait timeout during buildfarm runs?  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Jan 19, 2015 at 11:30 AM, Andres Freund <andres@2ndquadrant.com> wrote:
>> Sure, but the log isn't invisible. As mentioned one paragraph above, I
>> don't think it's likely to ever be noticed in the client code in the
>> cases where it happens in production.

> Yes, that is my feeling as well.

Meh.  I still don't like it, but I guess I'm outvoted.  Unless there are
further votes, what we have at this point is just:

-        elog(WARNING, "pgstat wait timeout");
+        ereport(LOG, (errmsg("using stale statistics instead of current ones because stats collector is not
responding")));

with no conditionality for pgstat_vacuum_stat vs. other callers.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Patch: add recovery_timeout option to control timeout of restore_command nonzero status code
Следующее
От: Robert Haas
Дата:
Сообщение: Re: PATCH: Reducing lock strength of trigger and foreign key DDL