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/08/23 08:40:00 UTC

[jira] [Comment Edited] (SVN-4077) FSFS recover should prune unborn revisions from rep-cache.db

    [ https://issues.apache.org/jira/browse/SVN-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16589912#comment-16589912 ] 

Julian Foad edited comment on SVN-4077 at 8/23/18 8:39 AM:
-----------------------------------------------------------

r1213716 "also prune the rep-cache when it's present but reportedly not being used" was later reverted by r1367674 'Fix issue SVN-4214, "svnadmin recover" should not create rep-cache.db' which was not backported to 1.7.x and first appeared in 1.8.x.


was (Author: julianfoad):
r1213716 "also prune the rep-cache when it's present but reportedly not being used" was later reverted by r1367674 'Fix issue 4214, "svnadmin recover" should not create rep-cache.db' which was not backported to 1.7.x and first appeared in 1.8.x.

> FSFS recover should prune unborn revisions from rep-cache.db
> ------------------------------------------------------------
>
>                 Key: SVN-4077
>                 URL: https://issues.apache.org/jira/browse/SVN-4077
>             Project: Subversion
>          Issue Type: Improvement
>          Components: libsvn_fs_fs
>    Affects Versions: 1.7.x
>            Reporter: Daniel Shahaf (äñ§€¥£¢)
>            Priority: Major
>             Fix For: 1.7.3, 1.8.0
>
>
> {noformat:nopanel=true}
> 'svnadmin recover', once it has determined what YOUNGEST is, should run:
> sqlite3 rep-cache.db "DELETE FROM rep_cache WHERE revision > ?" YOUNGEST;
> {noformat}



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