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

Re: [RFC] Drop non-sharded layout option for FSFSv7? [was: ...r1640915...]

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 24 Nov 2014 15:32:51 +0000

Stefan Fuhrmann wrote:
> I'm in favour of phasing linear repos out. We still have to support
> them but forgetting to check for shard size 0 is more likely to
> happen for new code than existing code.I also tend to issuing
> a warning or even failure when trying to upgrade a linear repos. [...]

Can we feasibly convert an unsharded repo to sharded during an upgrade?

I think the current upgrade takes O(1) time, and sharding would take at least Order(N) time (N = number of revs) to move each rev file into a shard directory, and possibly much higher order if there are disk file systems that have slow 'move' performance (given that the original directory might have a very large number of rev files in it), but it might be acceptable given that in those cases the performance of adding new revs was probably degrading for the same reason.

- Julian
Received on 2014-11-24 16:36:31 CET

This is an archived mail posted to the Subversion Dev mailing list.