Re: "Bogus data in lock file" shouldn't be FATAL?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "Bogus data in lock file" shouldn't be FATAL?
Дата
Msg-id 6217.1281975173@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "Bogus data in lock file" shouldn't be FATAL?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Tom Lane's message of lun ago 16 11:49:51 -0400 2010:
>> The bottom line here is that it's not clear to me whether changing this
>> would be a net reliability improvement or not.  Maybe better to leave
>> it alone.

> In that case, maybe consider fsync'ing it.

Hrm ... I had supposed we did fsync lockfiles, but a look at the code
shows not.  This seems like a clear oversight.  I think we should not
only add that, but back-patch it.  It seems entirely plausible that the
lack of an fsync is exactly what led to the original complaint.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Conflicted names of error conditions.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: refactoring comment.c