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

Re: 1.7.1: E200033: database is locked, executing statement 'RELEASE s0'

From: Neil Bird <neil_at_jibbyjobby.co.uk>
Date: Tue, 01 Nov 2011 13:12:14 +0000

Around about 01/11/11 12:12, Daniel Shahaf typed ...
> "database is locked" is the error SQLite would give when it tries to write to a database (.svn/wc.db) on which some other process already has a write-lock. The SQLite documentation:
> ... SQLite relies on POSIX advisory locks. Do those locks (fcntl() locks, if I read the source correctly) work correctly in your environment?

   No, these are not working (are they even supported by Windows? they seem
to be refs. to Samba server impls).

   I can get it working by mounting my CIFS shares '-o nobrl', which despite
the scary description (about it being unsafe) would seem to be the correct
thing to do in my case.

   I don't do svn ops. on the same repo. in parallel (from both machines at
the same time) anyway.

   I wonder what Windows client sqlite code does over Windows shares (as
that works)?

-- 
[neil_at_fnx ~]# rm -f .signature
[neil_at_fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil_at_fnx ~]# exit
Received on 2011-11-01 14:12:59 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.