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

'svnadmin verify' should check rep-cache refers to valid revs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • svnadmin
    • None

    Description

      In some cases of a damaged repository, it is possible for the rep-cache to contain references to revision numbers greater than the head revision.

      For example, this can happen if the most recent revision(s) in a repository are unwanted or corrupted, and I attempt recovery by deleting the unwanted revisions and rolling back the "current" file.

      'svnadmin recover' (since 1.7.3, 1.8.0) prunes the rep-cache, but we cannot guarantee it was used.

      The consequences of such bad references are serious: they can cause future commits to be corrupted, silently.

      Therefore 'svnadmin verify' should check the rep-cache only refers to existing revisions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            julianfoad Julian Foad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: