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

Re: [locking] out-of-dateness checking during lock

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-12-06 19:13:33 CET

Peter N. Lundblad wrote:

>This means pushing this check into the FS. I'm not sure everybody will
>like that:-)
>
Since we defined locks to only be valid on the newest revision of a
file, then obviously the FS _has_ to check that for internal consistency.

> This could be seen as a client asking for a lock on a
>particular revision and the server only allowing locks on the last
>committed revision or later.
>
>
+1. Network roundtrips are bad, race conditions are badder...

But of course, a generic DAV client has no way of even knowing what the
latest revision is. So a DAV LOCK request from, say, MS Office, must
still DTRT.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 6 19:15:12 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.