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

Re: Sharded FSFS repositories - summary

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-03-14 10:10:15 CET

On Wed, Mar 14, 2007 at 12:50:41AM -0700, Karl Fogel wrote:
> Malcolm Rowe <malcolm-svn-dev@farside.org.uk> writes:
> > - We'll create shards of 4000 entries each. That's large enough that
> > someone would have to hit 16M revisions before a larger value would be
> > an improvement, but small enough that it has reasonable performance
> > (and support) on all filesystems that I'm aware of. It's also a
> > power-of-ten, so easier for humans to understand.
> Although the exact parameters may not be admin-configurable, will they
> still be Subversion-configurable? That is, will we store the magic
> number "4000" somewhere on disk, so that if Subversion wants to
> rejigger the numbers later (because we discover something, or because
> someone blows past 16M revisions, or whatever) it can do so in a way
> that it can detect at run-time?

That's a good question. I was planning on making it hard-coded, but I
can easily stash it on disk if that's a better option.


  • application/pgp-signature attachment: stored
Received on Wed Mar 14 10:10:36 2007

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.