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

Re: Copy-To (forward reference) info in FSFS or BDB?

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 12 Nov 2009 00:30:07 +0000

On Wed, 2009-11-11 at 09:17 -0500, C. Michael Pilato wrote:
> Julian Foad wrote:
> > For obliteration, I need to be able to find all back-references from
> > newer revisions to the node-rev I'm obliterating.
> >
> > Did we ever get anywhere with implementing a table to cache forward
> > references ("copy-to")?
>
> http://svn.collab.net/repos/svn/branches/fs-successor-ids/ ?
>
> Successor-ids + copyfrom info = copyto_info (effectively).

Cool. I've sync'd the branch to trunk, and it builds and passes
regression tests (though there are no tests for the new functionality).

Next, I'm making the format bump, FS-BDB format going from 4 to 5, and
making this successor-ids table conditional on format >= 5. Patch
attached. Is this correct?

After that, two possible next steps are:

  * to connect the APIs up through the layers (FS -> repos -> RA ->
client) so that a client can use it.

  * to add some tests at the FS layer.

  * to investigate how to do the equivalent in FSFS. (Stick a table in
the sqlite db?)

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2416836

Received on 2009-11-12 01:30:29 CET

This is an archived mail posted to the Subversion Dev mailing list.