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

Re: filesystem oops?

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-02-04 23:11:50 CET

Branko Čibej <brane@xbc.nu> writes:
> >No. We would have never gotten the current ID if its predecessor
> >hadn't existed.
> >
>
> Not so. We *can* get discontinuities, because of aborted transactions.

Hmmm... not so, I think:

   txn A creates node 15.3 based off 15.2
   txn B creates node 15.2.1.1 based off 15.2 (because 15.3 already taken)
   txn A aborts
   txn B commits

The whole 15.3+ line doesn't exist, and everything in the
15.2.1... line will correctly name 15.2 as its predecessor.

If someday a 15.3 *does* succeed in getting committed, then some nodes
might get based on it.

In other words, increments are only ever done on numbers that have
been successfully committed. Numbers in txns are never used as
predecessors.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:04 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.