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

RE: incomplete directory props

From: Sander Striker <striker_at_apache.org>
Date: 2003-05-15 09:49:40 CEST

> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Thursday, May 15, 2003 5:14 AM

> sussman@tigris.org writes:
>
>> Continue work on issue #730: restartable checkouts.
>>
>> Still need to deal with making sure all dirprops are fetched for
>> incomplete directories, that's coming up.
>
> Actually, I'm not so sure we need to deal with this.

If you add a 'right now' to that, then +1.
 
> If the directory is incomplete, the client tells the server, and the
> server assumes the directory has no entries and no props. The client
> re-adds the entries it has, but not the props. This means the server
> will automatically send *all* dir props back to the client.
>
> Meanwhile, if you look at the way update_editor.c is set up -- notice
> that all directory props are cached in memory until close_directory()
> is called. So that means all the dirprops are either on disk, or
> they're not; there's no in-between state. Then later on, long after
> the dirprops are written to disk, the directory is marked valid.

It depends on if we ever decide to not keep all the dirprops in mem
before writing to disk. If people start attaching huge property values
to dirs that might be problematic. I personally don't see the practical
use for huge properties, but then there's users... ;)

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 15 09:50:33 2003

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.