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

Neil Hooey commented on SOLR-2578:
----------------------------------

Just tested, and it works if you change this line:

{code}
-   if( i > numberToKeep-1 ) {
+   if( i++ > numberToKeep-1 ) {
{code}
                
> 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
>            Assignee: James Dyer
>            Priority: Minor
>             Fix For: 3.5, 4.0
>
>         Attachments: SOLR-2578.patch, SOLR-2578.patch, SOLR-2578_3x.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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to