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/03/07 14:18:40 UTC
[jira] [Closed] (SOLR-8797) Backup command on a recovering index
should fail
[ https://issues.apache.org/jira/browse/SOLR-8797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Varun Thacker closed SOLR-8797.
-------------------------------
Resolution: Not A Problem
Assignee: Varun Thacker
Hi Gerald,
Yes this will happen now. Currently Solr supports backup and restore of cores . When SOLR-5750 is complete this problem will be solved since Solr will support backup/restore of a cloud collection. There backups will only be taken against the leaders.
Currently as a workaround you can use the CLUSTERSTATUS Collection API to fetch the leaders of replicas and issue a backup against those specific nodes
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org