You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Greg Solovyev (JIRA)" <ji...@apache.org> on 2015/05/22 23:18:17 UTC

[jira] [Issue Comment Deleted] (SOLR-7567) Replication handler to support restore via upload

     [ https://issues.apache.org/jira/browse/SOLR-7567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Solovyev updated SOLR-7567:
--------------------------------
    Comment: was deleted

(was: This patch has this feature implemented on 5_x branch. The patch includes unit test for downloading a snapshot as a zip file.
REST API for downloading a zipped snapshot:

http://localhost:8983/solr/collection1/replication?command=downloadbackup&name=namedBackupName&wt=filestream

The response returns a chunked filestream. First 8 bytes have the file size, and rest of the stream is structured the same way as if you were making "filecontent" request: 
 - 4 bytes for chunk size
 - N bytes for next chunk

there is no support for checksum yet)

> Replication handler to support restore via upload
> -------------------------------------------------
>
>                 Key: SOLR-7567
>                 URL: https://issues.apache.org/jira/browse/SOLR-7567
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Greg Solovyev
>             Fix For: Trunk
>
>         Attachments: SOLR-7567.patch
>
>
> Sometimes the snapshot is not available on a file system that can be accessed by Solr or SolrCloud. It would be useful to be able to send snapshot  files to Solr over HTTP.



--
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