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

Re: Node origins cache rewrite

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 24 Jan 2008 23:11:40 -0500

David Glasser wrote:
>> Does the Python script to generate the cache still work? I wonder if
>> we could modify it or otherwise make it available for people to run on
>> some repositories to get an idea of the number of nodes in their
>> repository. It would be interesting to see how many nodes are in the
>> ASF repository. Perhaps we could run it on some of our large
>> repositories at CollabNet as well.
>
> I expect it ought to still work, yes. Though hmm, I thought you said
> your repositories are BDB?

It's not a Python script, it's a compiled program (and is so for maximum
ease of delivery by packagers to platforms). The program assumes that
svn_fs_node_origin() will, upon *not* finding an origin in the index, answer
the question *and store the answer in the index*. This is not a guarantee
of the API, of course (because FSFS should promise no such thing). But
it'll be our dirty little secret.

At any rate, I think it will still work fine after this change.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-25 05:11:54 CET

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.