[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit bug over NFS

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-03-27 09:49:22 CEST

On Mon, Mar 26, 2007 at 06:22:43PM -0400, David Glasser wrote:
> On 3/26/07, David Glasser <glasser@mit.edu> wrote:
> >On 3/26/07, Nelson Elhage <nelhage@mit.edu> wrote:
> >> Transmitting file data .svn: Commit failed (details follow):
> >> svn: Cannot write to the prototype revision file of transaction '14-1'
> >because a previous representation is currently being written by another
> >process
> >
>
> fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) =
> -1 EACCES (Permission denied)
>
> I know very little about NFS... do you need to specially allow users
> to lock files (like in AFS)?
>

Not that I'm aware of, and yes, that's the line that's causing the problem.

Nelson, could you try repeating your test with 1.4.0 and capture the
strace output again? What _should_ happen is you get a failure slightly
later on in the commit, when trying to lock the write-lock file that
serialises writers to the filesystem, but it's always possible that
there's a subtle differences between the two locking calls that I'm not
aware of.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Tue Mar 27 09:49:43 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.