On 2010-08-10 16:12:15 +0200, Vincent Lefevre wrote:
> After a repository upgrade with svn version 1.5.1 (r32289) a few days
Note: the upgrade was done with:

  svnadmin upgrade /svnroot/mpfr
  svn-populate-node-origins-index /svnroot/mpfr

> ago, we now get the following error when committing:
> 
> svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
> 
> No problems for read operations.
> 
> The DB FS type is FSFS, and we have:
> 
> vlefe...@ff-scm-prod:~$ ls -l /svnroot/mpfr/db
> total 468
> -rw-rw-r-- 1 www-data scm_mpfr     11 Aug  5 02:26 current
> -r--r--r-- 1 www-data scm_mpfr     15 Aug  6 16:01 format
[...]

I notice that the "current" file hasn't been updated by the upgrade.
It contains:

7052 un bv

while the documentation[*] says:

The format of the "current" file is:

 * Format 3 and above: a single line of the form
   "<youngest-revision>\n" giving the youngest revision for the
   repository.

 * Format 2 and below: a single line of the form "<youngest-revision>
   <next-node-id> <next-copy-id>\n" giving the youngest revision, the
   next unique node-ID, and the next unique copy-ID for the
   repository.

[*] 
http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)

Reply via email to