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

Re: EDEADLK in svn_repos_fs_begin_txn_for_commit2

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 26 Jan 2011 13:39:26 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

>>> svn mkdir -mm svn://localhost/repoA/X1
>>> svn mkdir -mm svn://localhost:3691/repoB/X1
>>> svn mkdir -mm svn://localhost/repoB/X2
>>> svn mkdir -mm svn://localhost:3691/repoA/X2

> I start the four commits above, one after the other with a small delay
> between them. The commits run in parallel and they all block, then
> after about 10 seconds the first two complete, and then the third fails
> with:
>
> svn: Can't get exclusive lock on file '/home/pm/sw/subversion/obj/repoA/db/txn-current-lock': Resource deadlock avoided
>
> Then after a bit more delay the fouth completes.

To be more accurate the commit that fails is the third commit to produce
a result, it's the fourth commit started.

-- 
Philip
Received on 2011-01-26 14:40:09 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.