[ 
https://issues.apache.org/jira/browse/SOLR-8797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182992#comment-15182992
 ] 

Gérald Reinhart commented on SOLR-8797:
---------------------------------------

Hi Varun,

   Thanks for the quick answer.
   We will implement this workaround.

   Our point is that it shouldn't be possible to do a backup from a recovering 
index.

Thanks,

Gérald

   

> Backup command on a recovering index should fail
> ------------------------------------------------
>
>                 Key: SOLR-8797
>                 URL: https://issues.apache.org/jira/browse/SOLR-8797
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0
>         Environment: Several Solr servers on a cloud mode
>            Reporter: Gérald Reinhart
>            Assignee: Varun Thacker
>            Priority: Minor
>
>     We are using the backup command "http:// ...
> /replication?command=backup&location=/tmp" against one server of the
> cluster.
>     Most of the time there is no issue with this command.
>     But in some particular case, the server can be in recovery mode. In
> this case, the command is doing a backup on an index that is not
> complete and return a http code 200. We end up with a partial index
> backup ! As a workaround we will do this backup against the leader of
> the cloud: the leader is never in recovery mode.
>     In our opinion, the backup command on a recovering index should
> return a http code 503 Service Unavailable (and not http code 200 OK).
>   [Mail in the mail 
> list|http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201603.mbox/%3C56D56004.70905%40kelkoo.com%3E]



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

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

Reply via email to