On 11/11/2010 04:25 PM, Daniel Shahaf wrote: > Philip observed today that, since 'hotcopy' copies the $REPOS/db/locks/???/* > files using a simple svn_io_copy_dir_recursively(), the correctness of > the copy is not guaranteed if locks are being added/removed while the > hotcopy is ongoing: the hotcopy might contain only an arbitrary subset > of the path-prefix-digest-files. (It might contain any subset of the > three digest files md5("/"), md5("/trunk/iota"), md5("/trunk"). The > lock removal removes/updates those files in depth-first order.) > > So, a few questions:
Maybe, just maybe, you can find some of the information you seek in the history of http://subversion.tigris.org/issues/show_bug.cgi?id=3660. I had to study the FSFS lock storage and usage algorithms some time ago to fix a bug. (Though, don't expect to find hotcopy strategies there.) -- C. Michael Pilato <cmpil...@collab.net> CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature