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

Re: Question about atomic commits and "tree locking".

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 16 Jun 2008 18:09:16 +0200

On Mon, Jun 16, 2008 at 11:33:47AM -0400, David Weintraub wrote:
> Most VCS with atomic commits (such as Perforce) don't allows multiple
> sets to commit at the same time. They're lined up one after another to
> make sure they don't interfere with each other. It's about the only
> single threaded activity that takes place in many systems.

The reason Perforce does it this way may be related to the
fact that it uses RCS internally. Modifying RCS files in parallel
is probably quite hard to get right.

Subversion OTOH uses a transactional filesystem, i.e. it supports
transactions much like a database does. It's much easier to implement
parallel commits if the data model used by the repository supports
multiple transactions out of the box.

Stefan

  • application/pgp-signature attachment: stored
Received on 2008-06-16 18:19:22 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.