GitHub user hgadre opened a pull request:
https://github.com/apache/lucene-solr/pull/67
[SOLR-9055] Make collection backup/restore extensible
- Introduced a Strategy interface to define how the Solr index data is
backed up.
- Two concrete implementations of this strategy interface defined.
- One using core Admin API (BACKUPCORE)
- Other skipping the backup of index data altogether. This is useful when
the index data is copied via an external mechanism in combination with
named
snapshots (Please refer to SOLR-9038 for details)
- In future we can add additional implementations of this interface (e.g.
based on HDFS snapshots etc.)
- Added a backup property to record the Solr version. This helps to check
the compatibility
of backup with respect to the current version during the restore
operation. This
compatibility check is not added since its unclear what the Solr level
compatibility guidelines
are. But at-least having version information as part of the backup would
be very useful.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hgadre/lucene-solr SOLR-9055_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/67.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 #67
----
commit ee07e54a36989637c39b110f1cba19c8af14a0fb
Author: Hrishikesh Gadre <[email protected]>
Date: 2016-08-10T21:41:12Z
[SOLR-9055] Make collection backup/restore extensible
- Introduced a Strategy interface to define how the Solr index data is
backed up.
- Two concrete implementations of this strategy interface defined.
- One using core Admin API (BACKUPCORE)
- Other skipping the backup of index data altogether. This is useful when
the index data is copied via an external mechanism in combination with
named
snapshots (Please refer to SOLR-9038 for details)
- In future we can add additional implementations of this interface (e.g.
based on HDFS snapshots etc.)
- Added a backup property to record the Solr version. This helps to check
the compatibility
of backup with respect to the current version during the restore
operation. This
compatibility check is not added since its unclear what the Solr level
compatibility guidelines
are. But at-least having version information as part of the backup would
be very useful.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]