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

Re: fs-rep-sharing infinite loop (again)

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 23 Sep 2008 16:05:56 -0400

C. Michael Pilato wrote:
> Vlad Georgescu wrote:
>> Can't we add a boolean flag to node-revision-id, set to TRUE if the node-rev-id
>> reused a rep?
>
> Nope, that's not quite right. A node-revision-id carries two different
> rep-keys (one for file contents, one for properties), and they are
> independently deltified. *BUT*. In the new forward-order world, we know
> three things:
>
> - the only representations that we should be deltifying are those for the
> most-recently-committed transaction.
> - we needn't bother deltifying representations that weren't created in
> that transaction (because if they weren't, they were created in some
> prior transaction and should already have been deltified)
> - the schema already preserves for us the transactions in which a rep
> was created.
>
> I'm almost finished with a patch that makes use of this knowledge right now.

Patch committed in r33259.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-09-23 22:06:11 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.