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

Re: [RFC] Obliterate - FS transaction design

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 22 Sep 2009 22:02:01 +0300 (IDT)

Philipp Marek wrote on Tue, 22 Sep 2009 at 15:15 +0200:
> Should be "easy" to do for BDB (for some values of "easy" ;-); in FSFS you
> might have to rewrite the revs/ file, but with a hole where deleted contents
> have been, so that the file positions stay the same.
>
> (AFAIK addressing of content across revisions is done via byte positions,
> isn't it?)

I don't know how addressing inside a rev file works. But addressing a rev
file inside a pack file *is* done via byte offsets (i.e., we store in the
manifest file the offset of the rev file within the pack file; the pack
file is a straight concatenation of rev files).

Daniel

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2398609
Received on 2009-09-22 21:41:05 CEST

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