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

AW: Revprop packing implemented

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Tue, 10 Jul 2012 13:31:10 +0000

Hi, Stefan,

Von: Stefan Fuhrmann [mailto:stefan.fuhrmann_at_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)?

Best regards

Markus Schaber

-- 
___________________________
We software Automation.
3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50
Email: m.schaber@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects
Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 
Received on 2012-07-10 15:31:48 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.