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

Re: The use of trails in svn_fs_base__commit_txn()

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-01-11 18:35:15 CET

Greg Hudson wrote:
> On Tue, 2006-01-10 at 16:46 -0600, Ben Collins-Sussman wrote:
>
>>Yeah, rollback is 'hard' without real db transactions. Let's go shopping. :-)
>
> My philosophy with FSFS was that Subversion transactions *are* the FSFS
> equivalent of DB transactions. Giving them ACID properties is
> redundant, since they are the mechanism by which the FSFS repository
> itself gets ACID properties.
>
> Of course, if you want to use Subversion FS transactions for some other
> reason than ACID commits to the repository itself, the FSFS
> implementation comes up short. You can't modify the same transaction
> from two threads or processes at the same time, and you can't care too
> much about their fate since a failed operation generally destroys them.

It sounds like it would be useful to put those notes in the source
documentation if you can find a good place.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 11 18:46:19 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.