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

RE: SVN repository possible race condition

From: <selling_at_vml.com>
Date: Fri, 23 Jan 2009 10:33:39 -0800 (PST)

Has a bug report been filed on this issue or has it been fixed?

We are using Subversion's post-commit hook to auto-deploy repository changes out to our Windows and UNIX development servers via CIFS and NFS.

The deploys to the UNIX boxes are fine but on a regular basis the working copies on the Windows shares blow up and it's getting worse as more auto-deploys are used.

What I mean by the Windows working copies blowing up is our logs will show the following errors:

svn: Can't remove file '/mnt/autofs/windows/10.XX.XX.XX/Inetpub/doc-root/images/.svn/lock': No such file or directory
svn: Working copy '/mnt/autofs/windows/10.200.XX.XX/Inetpub/doc-root' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

Running 'svn cleanup' as suggested results in the following error:

svn: Can't remove 'doc-root/js/.svn/tmp/prop-base': No such file or directory

And running 'svn cleanup' multiple times results in the same error but different paths that randomly repeat:

svn: Can't remove 'doc-root/js/.svn/tmp/prop-base': No such file or directory
svn: Can't remove 'doc-root/controls/.svn/tmp/prop-base': No such file or directory
svn: Can't remove 'doc-root/Categories/.svn/tmp/prop-base': No such file or directory
svn: Can't remove 'doc-root/controls/.svn/tmp/prop-base': No such file or directory

From the point we get working copy locked errors and onward, we cannot do anything with the working copy. We are forced to check out a new working copy to the Windows boxes and wait for it to happen again.

In another Windows working copy, we got the following errors in our logs, which is probably related:

svn: In directory '/mnt/autofs/windows/10.XX.XX.XX/Inetpub/doc-root/countries/france/resourceCenters'
svn: Error processing command 'delete-entry' in '/mnt/autofs/windows/10.XX.XX.XX/Inetpub/doc-root/countries/france/resourceCenters'
svn: Can't remove '/mnt/autofs/windows/10.XX.XX.XX/Inetpub/doc-root/countries/france/resourceCenters/pdf/.svn/tmp/prop-base': No such file or directory
svn: Working copy '/mnt/autofs/windows/10.XX.XX.XX/Inetpub/doc-root' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

We are running our Subversion server on a CentOS 5.2. The Subversion and apr information is:

Name : subversion Relocations: (not relocatable)
Version : 1.5.5 Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release : 0.1.el5.rf Build Date: Mon 22 Dec 2008 07:08:12 PM CST
Install Date: Mon 12 Jan 2009 08:02:36 PM CST Build Host: lisse.hasselt.wieers.com
Group : Development/Tools Source RPM: subversion-1.5.5-0.1.el5.rf.src.rpm
Size : 17822991 License: BSD
Signature : DSA/SHA1, Mon 22 Dec 2008 08:31:52 PM CST, Key ID a20e52146b8d79e6
Packager : Dag Wieers <dag_at_wieers.com>

Name : apr Relocations: (not relocatable)
Version : 1.2.7 Vendor: CentOS
Release : 11 Build Date: Wed 14 Mar 2007 07:00:07 AM CDT
Install Date: Fri 23 May 2008 09:57:36 AM CDT Build Host: builder4.centos.org
Group : System Environment/Libraries Source RPM: apr-1.2.7-11.src.rpm
Size : 264747 License: Apache Software License
Signature : DSA/SHA1, Tue 03 Apr 2007 07:19:58 PM CDT, Key ID a8a447dce8562897

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1045178

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-23 19:54:30 CET

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

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