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

Re: CVS update: subversion/subversion/libsvn_fs tree.c

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-03-27 02:08:04 CEST

On Mon, Mar 26, 2001 at 07:59:15PM -0000, kfogel@tigris.org wrote:
>...
> --- tree.c 2001/03/23 01:21:52 1.65
> +++ tree.c 2001/03/26 19:59:15 1.66
>...
> + /* ### kff todo: is there any compelling reason to get the nodes in
> + one db transaction? Right now we don't; txn_body_get_root() gets
> + one node at a time. */

I don't think so. They're all readonly, and the algorithm allows for them to
move/shift as they will. There isn't an invariant that they are all
synchronized in some fashion, so there isn't a need to ensure they are read
in one, synchronous shot.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:26 2006

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