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

Re: svn commit: rev 7257 - branches/issue-1499-dev/subversion/libsvn_fs

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-10-02 09:57:42 CEST

On Tue, Sep 30, 2003 at 01:17:45PM -0500, cmpilato@tigris.org wrote:
> Author: cmpilato
> Date: Tue Sep 30 13:17:44 2003
> New Revision: 7257
>
> Modified:
> branches/issue-1499-dev/subversion/libsvn_fs/tree.c
> Log:
> * subversion/libsvn_fs/tree.c
> (txn_body_history_prev): Oh geez. Do *not* nest Berkeley
> transactions, Mike. It simply doesn't work out the way you'd want.

Can we add a (debug-only) flag to the FS object? The begin_trail function
can check the flag and abort() if it was set. If not, then it sets it and
clears it in the abort/commit_trail function. That would give us a bit of
proactive assistance against txn-based deadlock situations.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 2 10:02:24 2003

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.