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

Revprop packing implemented

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Fri, 6 Jul 2012 10:32:08 +0200

Hi devs,

This week I had one of my "how hard can it be?" moments
and finally implemented revprop packing (did that mainly
offline). It passes all tests and seems to work pretty well.

It's design deviates from the existing revprop packing branch
in that it is more scalable and simpler to implement. Key
differences:

* Have a configurable limit (default 64k) to the pack file size.
  Concatenate revprops only up to that limit, but at least one
  revision's revprops per file. Have the manifest map revs to
  revprop pack files. IOW, let the OS do all the heavy lifting
  of storage management.
* Make revprop packing a mandatory part of FSFS packing
  in format 6 repos. There is no need to track revprop packing
  separately nor to give it a separate format info.

Since the new code will not be used unless you create
a format 6 repo, I'd like to commit everything directly to
/trunk for review instead of creating a new branch or
"overwriting" the existing one.

This is the order in which I want to commit the changes:

* refactor existing code
* update the design file
* add the revprop pack support
* add tests; write more tests
* bump the FSFS format

Any objections?

-- Stefan^2.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-07-06 10:32:42 CEST

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.