Re: "make check" fails over NFS or tmpfs - Mailing list pgsql-general

From Greg Stark
Subject Re: "make check" fails over NFS or tmpfs
Date
Msg-id 87veryknn2.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: "make check" fails over NFS or tmpfs  ("Rafael Martinez, Guerrero" <r.m.guerrero@usit.uio.no>)
Responses Re: "make check" fails over NFS or tmpfs
List pgsql-general
"Rafael Martinez, Guerrero" <r.m.guerrero@usit.uio.no> writes:

> Why do you think 'intr' is a bad thing, from man pages:
> " ........  If  an  NFS file operation has a major timeout and it is
> hard mounted, then allow signals to  interupt  the  file operation  and
> cause  it to return EINTR to the calling program.  The default is to not
> allow file operations to be interrupted ....."
>
> This will be like an error reported by the filesystem, the program will
> get the information and will take care of the problem instead of waiting
> indefinitely for a respons not comming and having the database probably
> in a nonconsistent state.

Traditional file systems guaranteed it never happened, so older applications
do not expect to have filesystem operations interrupted. Many do not check for
it or do not handle it properly. I recall a conversation a while back about
Postgres in particular not checking for it.

> With 'noac' I was thinking about two processes trying to access the same
> file at the same time, better not to have some cache in our way that
> alter the real state of the file to other processes.

The description of the option gave me the impression that this would only be
an issue if your processes were on two different clients.

--
greg

pgsql-general by date:

Previous
From: "Dawid Kuroczko"
Date:
Subject: Re: project
Next
From: "Michael Schmidt"
Date:
Subject: Changes in pl/pgsql?