[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to