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

0.37 dump/load problems

From: <dannys_at_changind.com>
Date: 2004-02-06 00:40:07 CET

I posted this before with no response. But since you're now asking
for bugs in 0.37...

Basically, I wrote a script to stress test subversion a little bit.
It creates a repository, grows a file, and commits the changes. I
managed to get to about 120 or so revisions (at 1 MB increments)
before I started to get berkeley db errors.

I've since did 'recover's on the repository as well as 'verify's with
no errors. I've then done a 'dump'/'load' cycle. However, upon
'load', I'm getting the following error:

    ------- Committed revision 110 >>>
                                                                                    
    <<< Started new transaction, based on original revision 111
         * editing path : file1 ... done.
         * editing path : md5sum.txt ... done.
    svn: Checksum mismatch on rep '95':
       expected: 4b9982396409dc49920f050dbe95e32c
         actual: 1dd7e293c271852d45d630b44533f2ec

At least I'm not getting non-deterministic dumps anymore (compared to
0.16) -- multiple dumps produce exactly the same output, so that's
good.

I tried duplicating the test with 10k increments (instead of 1MB).
However, now somewhere around revision 381, I'm getting this:

    # svnadmin recover test-repo/
    svn: Input/output error

However, I can do a 'verify' on the repository and have no problems.
There's plenty of drive space free (24GB on a 2.3GB repository).

The machine I'm using is Redhat 9.0 Enterprise, has 1GB of RAM, 3GB of
swap. And is a dual Athlon MP 1900+. It's not being used for
anything other than testing subversion at the moment.

The scripts are attatched below for anyone who wishes to duplicate the
problem. Just execute like so:

    # svntest-create.sh <--- creates the repository and a checkout directory
    # svntest-add.sh 1 200 <--- recursively grows a file 200 times.

Note that the recursive script to grow the file in the repository will
occasionally report berkeley db errors, so that's why I placed the
'recover' step in between each 'commit'.

Any ideas would be greatly appreciated. We're using 0.16 right now,
and we'd really like to upgrade so we can start using some of the
windows GUIs.

Thanks

--
Danny Sung       <dannys@changind.com>       Research Engineer
CHANG Industry   1925 McKinley Ave., Suite F   La Verne, CA 91750
     Tel: 909-596-7888             Fax: 909-596-8388
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 6 00:40:24 2004

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.