Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
trunk
-
None
Description
'svnadmin verify' does not detect incomplete changed-paths sections in FSFS revision files. An incomplete changed-paths list causes issues with commands such as 'svn log -v' and 'svnsync'. 'svn log -v' fails to show all changed paths, and 'svnsync' silently omits the missing paths from a mirror repository.
This problem was described in the mailing list thread for issue SVN-4340:
http://mail-archives.apache.org/mod_mbox/subversion-dev/201303.mbox/%3C20130326133615.GI24792%40ted.stsp.name%3E
We need to find a way to make 'svnadmin verify' detect this kind of corruption.
One suggestion was to make the FSFS verification code cross-check the changed-paths list of rN with a delta of the directory reps in rN-1 and rN. Any node revision ID change in the directory reps should have a corresponding changed-paths list entry.