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

Re: Locking design (was Re: svn commit: r9885 - trunk/notes)

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-05-26 20:59:59 CEST

On May 26, 2004, at 12:41 PM, Ben Collins-Sussman wrote:

>> With no transaction-based consistency protection?
>
> Write to a tmpfile, then move it.

Are you imagining a file move to have some sort of atomic guarantee?
Even if /tmp and the repos are both on local storage, if they are on
separate volumes (a common case), a move becomes a copy/delete
operation which might have fewer guarantees than you are perhaps
expecting.

Feel free to ignore this if I'm just misunderstanding what you are
saying.

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 26 20:59:57 2004

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.