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

Re: Sharing SVN-Repository between Linux/x86 and WinNT

From: Aaron Optimizer Digulla <digulla_at_hepe.com>
Date: 2003-12-29 22:49:22 CET

On Mon, Dec 29, 2003 at 01:41:39PM -0600, Ben Collins-Sussman wrote:

> On Mon, 2003-12-29 at 10:31, Aaron Optimizer Digulla wrote:
>
> > - I dumped the linux repos
> > - I loaded the dump on Windows.
> > - I made some changes on linux
> > - I make an incremental dump (using the example in the docs; the example
> > has a bug, btw: The parameters for svnadmin dump have changed but the
> > example wasn't updated).
> > - I copied the dump to windows
> > - I tried to load it -> svnadmin just hangs during rev 10 after the successful
> > import of rev 9 (8 was the latest on the win side).
> >
> > I had to abort the load with Ctrl-C. Now, svn up didn't work anymore,
>
> Of course not. A process was directly accessing the repository, and you
> interrupted it. That almost always guarantees that the database will be
> left in an inconsistent state, usually with a lockfile left behind.
> It's a basic FAQ.

Thanks, that's *exactly* what I mean with "quality problem". More precisely:
Is pressing Ctrl-C while the programm accesses the DB such an uncommon
event? Probably not (or why is that in the FAQ?)!

Why is there no signal handler which does a rollback? Or why don't you just
catch Ctrl-C and ignore it, so people cannot abort the program during
fragile work?

I've seen svn corrupt the DB during file:/ and https:// accesses when
I killed the client process. That should not happen.

> > recover did work but I still couldn't load the dump.
>
> Can you show us the dumpfile? Help us reproduce? There's no reason for
> a dumpfile to "hang" in the middle of loading. It could be something as
> simple as a database permissions problem. I doubt it's a bug in the
> actual dumping/loading code. A "hang" is almost always a BDB problem.
> Lots of people are ready to help, you're willing to give us details and
> help us reproduce your problem.

I'm not sure if I can reproduce the problem myself. How can I load a dump
which contains rev 9-13 into a DB which contains 0-9 (the first load
stopped during loading rev 10 and I had to kill the process)?

Is there a way to split the dump-file? Or can I drop rev 9?

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits." 
http://www.philmann-dark.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 29 22:53:02 2003

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.