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

Re: Fwd: Effects of importing over 18000 items into repository as one commit transaction

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2006-01-11 18:46:51 CET

On 1/11/06, Julian Foad <julianfoad@btopenworld.com> wrote:

> > Our authz_read() callback operates on single paths, and that's it.
>
> OK, I see. I guess you're saying we can't change that API, so we're stuck. If
> we could add and use a "check this list of paths" API it could potentially be
> much faster,

Not at all, it's our own invented API! I agree, perhaps it would be
better to rev this API to take a *list* of paths, rather than just one
path. Then the implementor of the authorization system
(mod_authz_svn, or svnserve), at least has the opportunity to make use
of inherited ACLs, if that's how it happens to do authz. That would
be a nice enhancement.

In retrospect, I think it was probably a mistake to make our
authz_read() callback take only one path rather than a list of them.
A multi-path version would still allow the single-path case and be
backward-compatible, but is much more flexible and opens the door for
optimizations.

---------------------------------------------------------------------
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:52:05 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.