svn FSFS backend breaks in Mandriva Linux Cooker after upgrading sqlite3 to 3.7.7

3 views
Skip to first unread message

Shlomi Fish

unread,
Jun 26, 2011, 6:17:25 AM6/26/11
to us...@subversion.apache.org
Hi all,

after I upgraded sqlite3 to 3.7.7 on Mandriva Cooker I'm getting this:

https://qa.mandriva.com/show_bug.cgi?id=63582

[QUOTE]

When I'm using Subversion on the file:/// ra_local repository access backend on
Cooker, then I'm getting this:

<<<<<<<<<<<<<<
shlomif[xml-fiction]:~/tmp/svn$ ls
shlomif[xml-fiction]:~/tmp/svn$ svnadmin create foo
shlomif[xml-fiction]:~/tmp/svn$ svn ls file://`pwd/foo
> ^C
shlomif[xml-fiction]:~/tmp/svn$ svn ls file://`pwd`/foo
shlomif[xml-fiction]:~/tmp/svn$ svn ls file://`pwd`/foo
shlomif[xml-fiction]:~/tmp/svn$ echo file://`pwd`/foo
file:///home/shlomif/tmp/svn/foo
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating foo"
file:///home/shlomif/tmp/svn/foo/foo

Committed revision 1.

Warning: post-commit FS processing had error 'Couldn't perform atomic
initialization'.
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating foo"
file:///home/shlomif/tmp/svn/foo/foo
svn: File already exists: filesystem '/home/shlomif/tmp/svn/foo/db',
transaction '1-1', path '/foo'
shlomif[xml-fiction]:~/tmp/svn$ svn
lsfile:///home/shlomif/tmp/svn/foo/fooUnknown command:
'lsfile:///home/shlomif/tmp/svn/foo/foo'
Type 'svn help' for usage.
shlomif[xml-fiction]:~/tmp/svn$ svn ls file:///home/shlomif/tmp/svn/foo/foo
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating trunk"
file:///home/shlomif/tmp/svn/foo/foo
svn: File already exists: filesystem '/home/shlomif/tmp/svn/foo/db',
transaction '1-2', path '/foo'
shlomif[xml-fiction]:~/tmp/svn$ svn mkdir -m "Creating trunk"
file:///home/shlomif/tmp/svn/foo/foo/trunk

Committed revision 2.

Warning: post-commit FS processing had error 'Couldn't perform atomic
initialization'.
shlomif[xml-fiction]:~/tmp/svn$ svn co
file:///home/shlomif/tmp/svn/foo/foo/trunk
Checked out revision 2.
shlomif[xml-fiction]:~/tmp/svn$ tmux
[detached]
shlomif[xml-fiction]:~/tmp/svn$ cd trunk/
shlomif[xml-fiction]:~/tmp/svn/trunk$ ls
shlomif[xml-fiction]:~/tmp/svn/trunk$ echo h > j
shlomif[xml-fiction]:~/tmp/svn/trunk$ svn add j
A j
shlomif[xml-fiction]:~/tmp/svn/trunk$ svn ci -m "Commiting j"
Adding j
Transmitting file data .svn: Commit failed (details follow):
svn: While preparing '/home/shlomif/tmp/svn/trunk/j' for commit
svn: Couldn't perform atomic initialization
svn: database schema has changed
shlomif[xml-fiction]:~/tmp/svn/trunk$ svn st
A j
shlomif[xml-fiction]:~/tmp/svn/trunk$
>>>>>>>>>>>>>>

This may be due to the sqlite3 upgrade:

http://blog.fh-kaernten.at/wehr/2011/01/04/svn-couldnt-perform-atomic-initialization-fix/

[/QUOTE]

I checked that svn behaved fine on the Mandriva build system before sqlite3 was
upgraded, but then after I upgraded sqlite3 it started breaking.

I tried compiling Subversion from source and invoked it from ~/apps/svn/bin/svn
- and got the same bug.

Regards,

Shlomi Fish

--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Rethinking CPAN - http://shlom.in/rethinking-cpan

Bugs are too afraid to reproduce on Chuck Norris’ computer. As a result, when
he uses Microsoft Windows, it behaves just like a Linux system.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Stefan Sperling

unread,
Jun 26, 2011, 6:49:43 AM6/26/11
to Shlomi Fish, us...@subversion.apache.org
On Sun, Jun 26, 2011 at 01:17:25PM +0300, Shlomi Fish wrote:
> Hi all,
>
> after I upgraded sqlite3 to 3.7.7 on Mandriva Cooker I'm getting this:
>
> https://qa.mandriva.com/show_bug.cgi?id=63582

It looks like something is broken in the new sqlite version.
We have already noticed, see http://svn.haxx.se/dev/archive-2011-06/0858.shtml.
You should downgrade sqlite until this gets fixed.

Reply all
Reply to author
Forward
0 new messages