Re: xlog lockup patch (was: BUG #2712: could not fsync

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Thomas H(dot)" <me(at)alternize(dot)com>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Brant <Peter(dot)Brant(at)wicourts(dot)gov>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: xlog lockup patch (was: BUG #2712: could not fsync
Date: 2006-11-20 20:33:33
Message-ID: 200611202033.kAKKXXW18069@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Thomas H. wrote:
> me wrote:
> > i've loaded 1gb of data without any xlog-problems, whereas with the 8.2b2
> > executable it locked up after ~100mb. the xlog-files are cycling...
> >
> > if i need to test for some specific behaviour let me know.
>
> what's the status on this patch for inclusion in future 8.2 builds? would be
> nice to see it in b4 or rc1...

This was fixed the day after we packaged beta3:

revision 1.44
date: 2006/11/08 20:12:05; author: tgl; state: Exp; lines: +20 -48
Change Windows rename and unlink substitutes so that they time out after
30 seconds instead of retrying forever. Also modify xlog.c so that if
it fails to rename an old xlog segment up to a future slot, it will
unlink the segment instead. Per discussion of bug #2712, in which it
became apparent that Windows can handle unlinking a file that's being
held open, but not renaming it.

beta4 will have the fix.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-11-21 01:33:42 Re: BUG #2766: erratic segfault in libpq/DBD::Pg
Previous Message manisha balwadkar 2006-11-20 14:03:05 Stored Procedure with more than one OUT Parameter

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2006-11-20 20:42:05 Re: add external pl language section, clean up some links
Previous Message Andrew Dunstan 2006-11-20 20:21:49 Re: [PATCHES] WIP 2 interpreters for plperl