Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8797

Backup command on a recovering index should fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 5.0
    • None
    • None
    • None
    • Several Solr servers on a cloud mode

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              varun Varun Thacker
              geraldreinhart GĂ©rald Reinhart
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: