Re: [#4843] svn wc verify -- pristine files consistency check, and possibly repair
From: Julian Foad <julianfoad_at_apache.org>
Date: Fri, 10 Jan 2020 10:27:43 +0000
Filed as http://subversion.apache.org/issue/4843 .
We could start by defining more precisely what it needs to do.
Some aims, in order from highest priority:
Checking for content corruption by recalculating the checksums is going
We could check quickly:
The existing 'cleanup' implementation contains a function
[[[
* Check and correct all the refcounts. Identify any rows missing
* Check the checksums. (Very expensive to check them all, so find
* Check for pristine files missing from disk but referenced in the
* Repair any pristine files missing from disk and/or rows missing
* Identify any pristine text files on disk that are not referenced
The refcounts are references within the DB from nodes to the 'pristines'
I am not aware of problems in the consistency of the DB tables, so I
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.