GitHub user hgadre opened a pull request: https://github.com/apache/lucene-solr/pull/52
[SOLR-9269] Ability to create/delete/list snapshots for a solr core - Introduced admin operations to create/delete/list snapshots at the Solr core level - Introduced Snapshot management functionality utilizing Lucene IndexDeletionPolicy. The management of data files in the *current* index directory is deleted to Solr IndexDeletionPolicy. - As part of restore operation (or full replication), Solr changes the index directory. Since snapshots can be present in the old directory (before the operation), introduced logic to preserve those index files. When the snapshot is deleted, this logic deletes those files if they are not referred by some other snapshot. - Unit tests to verify new functionlity. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hgadre/lucene-solr SOLR-9269_fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/52.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #52 ---- commit 3483b61f7e1599087eef3976c2a98673fdd79282 Author: Hrishikesh Gadre <hga...@cloudera.com> Date: 2016-06-13T21:40:12Z [SOLR-9269] Ability to create/delete/list snapshots for a solr core - Introduced admin operations to create/delete/list snapshots at the Solr core level - Introduced Snapshot management functionality utilizing Lucene IndexDeletionPolicy. The management of data files in the *current* index directory is deleted to Solr IndexDeletionPolicy. - As part of restore operation (or full replication), Solr changes the index directory. Since snapshots can be present in the old directory (before the operation), introduced logic to preserve those index files. When the snapshot is deleted, this logic deletes those files if they are not referred by some other snapshot. - Unit tests to verify new functionlity. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org