On Mon, Sep 28, 2015 at 12:16 PM, <stefan2_at_apache.org> wrote:
> Author: stefan2
> Date: Mon Sep 28 10:16:12 2015
> New Revision: 1705646
> URL: http://svn.apache.org/viewvc?rev=1705646&view=rev
> Tune reorg strategy during the FSFS format7 packs such that it favors
> checkout-style tree walks now.
> Since r1703237, following the log history no longer requires frequent
> access to directory data but mainly relies on noderev predecessor chain.
> Therefore, it is no longer necessary to tightly pack directories in a
> separate part of the pack file. With this patch, they are now placed
> with the file contents and can be processed by a quasi-linear scan
> instead of reading from two sections per pack.
> * subversion/libsvn_fs_fs/pack.c
> (compare_dir_entries_format7): Adapt reporting strategy - process dirs
> at the same time as files now.
> (compare_is_dir): No longer needed.
> (sort_reps): No longer distinguish between file and dir reps but only
> paths and delta chains when determining reprentation order.
In this post-1.9.x-branch commit (and a couple of subsequent
pack-related commits) you changed the pack layout for FSFS format7, to
make it more efficient for exports, checkouts, ...
I'm wondering, when 1.10 comes out, how will I be able to benefit from
this improved pack layout? Supposing I've already dump/load-ed with
1.9 in FSFS7, and packed it.
Does this require a format bump (and another dump/load)? Or do you
plan on providing a way to "repack" (or simply unpack and pack) a
packed repository? Currently there is no unpack or repack command ...
Received on 2016-01-27 13:08:38 CET