You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2016/05/08 13:37:12 UTC

[jira] [Created] (SOLR-9086) Small improvements to cloud backup/restore

Varun Thacker created SOLR-9086:
-----------------------------------

             Summary: Small improvements to cloud backup/restore
                 Key: SOLR-9086
                 URL: https://issues.apache.org/jira/browse/SOLR-9086
             Project: Solr
          Issue Type: Improvement
            Reporter: Varun Thacker


Proposed additions:
 - Take numDocs count of all replicas during backup and validate them during restore 
 - User can pass "rule" and "snitch" param for the restored collection as well . CollectionsHandler#RESTORE_OP needs to keeps those two params.
 - Mark the API as experimental . We might want to wait for SOLR-9055 to pan out . Also in-case we want to change the "name" param to "snapshot" or "snapshotName" as proposed here https://issues.apache.org/jira/browse/SOLR-5750?focusedCommentId=15260749&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15260749

Misc Changes:
 - Improve log message {{throw new SolrException(ErrorCode.SERVER_ERROR, "Couldn't restore since doesn't exist: " + backupPath);}} . It should be "doesn't" -> "location doesn't"
 - Move {{OverseerCollectionMessageHandler#processBackupAction}} and {{OverseerCollectionMessageHandler#processRestoreAction}} to their own classes

Questions:
 - During restore should be do a checksum verification of the configSet and fail fast if a configSet with the same name exists but the checksum doesn't match?




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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