You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/02/12 15:04:27 UTC

[GitHub] [lucene-solr] gerlowskija opened a new pull request #2360: SOLR-13608: Incremental backup file format (#2250)

gerlowskija opened a new pull request #2360:
URL: https://github.com/apache/lucene-solr/pull/2360


   # Description
   
   Currently backups in SolrCloud are done as full snapshots.  The full index
   is uploaded each time, even if many of the files are unchanged since the
   last backup.
   
   # Solution
   
   This commit introduces a new way for Solr to do backups (with a new
   underlying file structure).  This new "incremental" backup process
   improves over the existing backup mechanism in several ways:
   
   - multiple backups "points" can now be stored at a given backup
     location/name, allowing users to choose which point in time they want
     to restore
   - subsequent backups skip over uploading files that were uploaded by
     previous backups, saving time and network time.
   - files are checksumed as they're uploaded, ensuring that corrupted
     indices aren't persisted and accidentally restored later.
   
   Incremental backups are now the default, and traditional backups
   should now be considered 'deprecated' but can still be created by
   passing an `incremental=false` parameter on backup requests.
   
   # Tests
   
   See TestIncrementalCoreBackup, TestStressIncrementalBackup, HdfsBackupRepositoryIntegrationTest, LocalFSCloudIncrementalBackupTest, and HdfsCloudIncrementalBackupTest among others.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [x] I have reviewed the guidelines for [How to Contribute](https://wiki.apache.org/solr/HowToContribute) and my code conforms to the standards described there to the best of my ability.
   - [x] I have created a Jira issue and added the issue ID to my pull request title.
   - [x] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended)
   - [ ] I have run `ant precommit test`.
   - [x] I have added tests for my changes.
   - [x] I have added documentation for the [Ref Guide](https://github.com/apache/lucene-solr/tree/master/solr/solr-ref-guide) (for Solr changes only).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [lucene-solr] gerlowskija merged pull request #2360: SOLR-13608: Incremental backup file format (#2250)

Posted by GitBox <gi...@apache.org>.
gerlowskija merged pull request #2360:
URL: https://github.com/apache/lucene-solr/pull/2360


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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