Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4343

FSFS verify should check changed-paths list

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: 1.10-consider
    • Component/s: libsvn_fs_fs
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stsp Stefan Sperling
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: