On Tue, Jul 10, 2012 at 3:31 PM, Markus Schaber <m.scha...@3s-software.com>wrote:
> Hi, Stefan, > > Von: Stefan Fuhrmann [mailto:stefan.fuhrm...@wandisco.com] > >> What's the performance penalty for modifying a packed rev props? From > what you've said, it sounds like packing works by fitting as many rev props > into a 64k chunk, so, let's say I've got a million rev repository. And the > first 1000 revs fit neatly inside the first 64k pack. What happens when I > propedit r1000 and increase its size so that it no longer neatly fits > inside the 64k pack? > > > That one pack file gets split. I just committed a change that will > result in two roughly equally sized pack files after the split - if the > revprop sizes allow for it. > > Just to be sure: Did you catch the corner case where a revision X in the > middle of the chunk gets a revprop that exceeds the 64k pack limit, and the > code needs to split the Chunk into three (pre-X, X, post-X)? > Yes. There is even a test case for that. It tests "huge" revprops at the begining, in the middle and at the end of the pack file. -- Stefan^2. -- Certified & Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download