[PATCH] svnadmin build-repcache command
From: Denis Kovalchuk <denis.kovalchuk_at_visualsvn.com>
Date: Wed, 18 Mar 2020 17:32:43 +0300
Hello.
I would like to suggest an implementation of ‘svnadmin build-repcache’
that allows to process data in the specified revision range and add missing
to the representation cache. It may be useful for admins who had disabled
rep-sharing option or deleted the rep-cache.db file [1]. An idea of having
command has been previously discussed in [2].
The implementation iterates over revisions in the specified range and
processes the changed nodes, starting from the corresponding revision roots.
For each changed node, it ensures that its data and property representations
exist in the rep-cache. The nodes are processed in the same order as when
committing a transaction, so that the rep-cache.db files are fully
If a repository does not support the rep-sharing or rep-sharing is disabled,
then do nothing.
I have attached a patch with the implementation of the command.
[1] https://svn.haxx.se/users/archive-2014-01/0128.shtml
[2] https://svn.haxx.se/dev/archive-2018-08/0050.shtml
Regards,
Denis Kovalchuk
|
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.