You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (JIRA)" <ji...@apache.org> on 2011/06/07 23:51:59 UTC

[jira] [Updated] (SOLR-2578) ReplicationHandler Backups -- clean up old backups

     [ https://issues.apache.org/jira/browse/SOLR-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Dyer updated SOLR-2578:
-----------------------------

    Attachment: SOLR-2578.patch

This patch adds the functionality with a new parameter:  numberToKeep .  The unit test has been enhanced to do 2 backups and then check to see if the first one was automatically deleted (numberToKeep=1).

> ReplicationHandler Backups -- clean up old backups
> --------------------------------------------------
>
>                 Key: SOLR-2578
>                 URL: https://issues.apache.org/jira/browse/SOLR-2578
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.2, 4.0
>            Reporter: James Dyer
>            Priority: Minor
>             Fix For: 3.3, 4.0
>
>         Attachments: SOLR-2578.patch
>
>
> It would be nice when performing backups if there was an easy way to tell ReplicationHandler to only keep so many and then delete the older ones.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org