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

Re: delta metric

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2001-03-05 20:50:50 CET

Ben Collins-Sussman <sussman@newton.ch.collab.net> writes:
> > I think he meant:
> >
> > Jane starts a Subversion txn.
> > Bill starts a Subversion txn.
> > Jane makes a change to node N in her txn.
> > Bill makes a change against the same base revision of N, in his txn.
> > Jane aborts her txn.
> > Bill commits his txn.
>
> Yup. Aborted transactions result in deleted node-revisions.
>
> My thoughts weren't as complex as Karl's, though; if Jane begins and
> then aborts a transaction -- acting alone -- the deleted node-revision
> numbers will never be recycled, right? The next person who comes
> along and clones the same node as Jane is going to get the "next"
> node-rev num, beyond the deleted one.

No, they will be recycled. Remember, when Jane aborts her txn, all
new node revisions created in that txn get deleted from the database
(those node revs are invisible to the revision roots -- they're
"garbage", in the sense that a floodfill from the any revision root
can never reach them).

-K
Received on Sat Oct 21 14:36:25 2006

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.