Gérald Reinhart created SOLR-8797:
-------------------------------------

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

Reply via email to