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

Re: FSFS locks questions and a concern

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 12 Nov 2010 11:02:14 +0000

Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:

> 3. What's a reasonable strategy to hotcopy the locks?
>
> I've started on a patch that uses walk_digest_files() (I modified
> that function today), but currently that patch simply does a walk
> starting at the digest file md5("/"), and consequently it misses
> copying the unreferenced digest file md5("/trunk").

It appears you have to read/copy md5("/") and get a list of locks, then
read/copy each lock file that still exists, then reconstruct the
intermediate files for the locks that were copied.

-- 
Philip
Received on 2010-11-12 12:02:57 CET

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