Re: WAL does not recover gracefully from out-of-disk-space - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: WAL does not recover gracefully from out-of-disk-space
Date
Msg-id 008d01c0a7cc$9225ed60$4c79583f@sectorbase.com
Whole thread Raw
In response to WAL does not recover gracefully from out-of-disk-space  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WAL does not recover gracefully from out-of-disk-space  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Was the following bug already fixed ?

I was going to ask same Q.

I see that seek+write was changed to write-s in XLogFileInit
(that was induced by subj, right?), but what about problem
itself?

> > DEBUG:  redo starts at (0, 21075520)
> > The Data Base System is starting up
> > DEBUG:  open(logfile 0 seg 0) failed: No such file or directory                ^^^^^^^^^^^^^^^
redo started in seg 1 and shouldn't try to read seg 0...

BTW, were performance tests run after seek+write --> write-s
change? Write-s were not obviously faster to me, that's why I've
used seek+write, but never tested that area -:(

Vadim




pgsql-hackers by date:

Previous
From: "Vadim Mikheev"
Date:
Subject: Re: Proposed WAL changes
Next
From: Karel Zak
Date:
Subject: Re: Memory management, palloc