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

Re: [Locking] Proposal to change ra_lock and ra_unlock to take lists of lock tokens

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-02-25 01:20:06 CET

Brian W. Fitzpatrick wrote:

>The Issue At Hand:
>
>With the current locking design, my only recourse in a situation where
>we need to unlock (or lock) multiple files is to pass each lock token
>that we discover to svn_ra_unlock (or svn_ra_lock) and send each
>lock/unlock request over the ra layer one at a time. While simple
>enough, this is extremely inefficient.
>
>The Proposed Solution:
>
>After discussing this with sussman and cmpilato, I propose that we
>modify svn_ra_lock and svn_ra_unlock to take a list of lock tokens.
>That way, each ra layer can deal with the tokens as efficiently or
>inefficiently as necessary. Sussman's already got some ideas WRT ra_dav
>using POST requests instead of LOCK and UNLOCK requests, and the other
>layers can just shoot the whole list at the server in one request.
>
>Thoughts?
>
>
+1 all over that, I thought we already agreed to do that? Or is it just
svn_fs_lock_list without an RA equivalent?

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 25 01:21:20 2005

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.