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

Re: ra_svn deadlock

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-13 17:25:04 CET

Greg Hudson <ghudson@MIT.EDU> writes:

> On Fri, 2002-12-13 at 10:45, Philip Martin wrote:
> > I get a deadlock in daemon mode on Linux. I think the problem is
> > caused by externals_tests.py using a simple directory copy to
> > duplicate a repository. Is that a valid way to duplicate a
> > repository?
>
> No, but this may uncover a real bug.
>
> Since svnserve is holding a repository open for the lifetime of a
> connection, then depending on how locking works, it may be impossible
> for two client connections to access the same repository at the same
> time. That would also affect diff-tests 5.

We often have multiple "clients" holding database locks at the same
time, I don't think that's a problem. diff-tests 5 passes :)

> I don't know why I haven't run into this in my tests. Maybe a db 4.0.14
> vs. db 4.1 issue.

I'm using 4.1.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 13 17:26:04 2002

This is an archived mail posted to the Subversion Dev mailing list.