Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently when we create a backup we use SimpleFSDirectory to write the backup indexes. Similarly during a restore we open the index using FSDirectory.open .
We should provide a param called directoryImpl or type which will be used to specify the Directory implementation to backup the index.
Likewise during a restore you would need to specify the directory impl which was used during backup so that the index can be opened correctly.
This param will address the problem that currently if a user is running Solr on HDFS there is no way to use the backup/restore functionality as the directory is hardcoded.
With this one could be running Solr on a local FS but backup the index on HDFS etc.
Attachments
Attachments
Issue Links
- breaks
-
SOLR-9536 OldBackupDirectory timestamp init bug causes NPEs from SnapShooter?
- Closed
- is related to
-
SOLR-9055 Make collection backup/restore extensible
- Resolved
- relates to
-
SOLR-13587 Close BackupRepository after every usage
- Patch Available
-
SOLR-9242 Collection level backup/restore should provide a param for specifying the repository implementation it should use
- Resolved