Re: Directory fsync and other fun

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org, Mark Mielke <mark(at)mark(dot)mielke(dot)cc>, Florian Weimer <fw(at)deneb(dot)enyo(dot)de>, Greg Stark <gsstark(at)mit(dot)edu>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Directory fsync and other fun
Date: 2010-02-24 02:59:49
Message-ID: 22941.1266980389@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> writes:
> Andres Freund <andres(at)anarazel(dot)de> wrote:
>> I started setting up some halfway automated method of simulating hard crashes
>> and even while setting those up I found some pretty unsettling results...
>> Now its not unlikely that my testing is flawed but unfortunately I don't see
>> where right now (its 3am now and I have a 8h trainride behind me, so ...)

> I think the reported behavior is a TODO item to research:

We have since found out that the copydir code was completely broken and
wasn't fsyncing anything. So those tests need to be re-run against HEAD
before jumping to any conclusions.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-02-24 03:01:31 Re: auto_explain log_verbose causes regression failure
Previous Message Takahiro Itagaki 2010-02-24 02:51:07 Re: Directory fsync and other fun