Re: Call for platforms

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Call for platforms
Дата
Msg-id 2948.985231745@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Call for platforms  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: Call for platforms  (Larry Rosenman <ler@lerctr.org>)
Re: Call for platforms  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
>> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> ! FATAL 2:  ZeroFill(logfile 0 seg 1) failed: No such file or directory
> ! pqReadData() -- backend closed the channel unexpectedly.
>> 
>> Is it possible you ran out of disk space?

> Probably not.

The reason I was speculating that was that it seems pretty unlikely
that a write() call could return ENOENT, as the above appears to
suggest.  I think that the errno = ENOENT value was not set by write(),
but is leftover from the expected failure of BasicOpenFile earlier in
XLogFileInit.  Probably write() returned some value less than BLCKSZ
but more than zero, and so did not set errno.

Offhand the only reason I can think of for a write to a disk file
to terminate after a partial transfer is a full disk.  What do you
think?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: elog with automatic file, line, and function
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Call for platforms