You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Julian Foad (JIRA)" <ji...@apache.org> on 2018/03/23 10:56:00 UTC

[jira] [Created] (SVN-4730) 'svnadmin verify' should check rep-cache refers to valid revs

Julian Foad created SVN-4730:
--------------------------------

             Summary: 'svnadmin verify' should check rep-cache refers to valid revs
                 Key: SVN-4730
                 URL: https://issues.apache.org/jira/browse/SVN-4730
             Project: Subversion
          Issue Type: Improvement
          Components: svnadmin
            Reporter: Julian Foad


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)