Re: [HACKERS] Recovery on incomplete write

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Recovery on incomplete write
Дата
Msg-id 199909281454.KAA18708@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Recovery on incomplete write  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы RE: [HACKERS] Recovery on incomplete write  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
> "Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> > I have wondered that md.c handles incomplete block(page)s
> > correctly.
> > Am I mistaken ?
> 
> I think you are right, and there may be some other trouble spots in that
> file too.  I remember thinking that the code depended heavily on never
> having a partial block at the end of the file.
> 
> But is it worth fixing?  The only way I can see for the file length
> to become funny is if we run out of disk space part way through writing
> a page, which seems unlikely...
> 

That is how he got started, the TODO item about running out of disk
space causing corrupted databases.  I think it needs a fix, if we can.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Recovery on incomplete write
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] Operator definitions