Re: Short writes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Short writes
Дата
Msg-id 17011.1164733393@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Short writes  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> What probably *should* happen is that a second write is initiated to
> write the remainder of the block, at which point the system can say
> "disk full".

You are hoping that the second write would return ENOSPC, but field
experience is that it just returns 0, and you still have to make the
assumption about why.  See archives from back around the time that
patch was put in.
        regards, tom lane


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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Integrating Replication into Core
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BLCKSZ fun facts