Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19542

Restoring gsi indexes returns 500 error if indexes were backuped up as moi, but server is fdb

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • secondary-index
    • None
    • Untriaged
    • Unknown

    Description

      A 500 error indicates something when wrong in the server. A more appropriate error would be a 400 error to indicate a bad request. We should also include in the body of this request that it could not be completed due to the fact the the index storage type is not what we expected.

      An alternative idea would be to allow the restore to complete, but for the storage type to be set to whatever the indexer is currently using.

      Attachments

        1. backup.tar.gz
          3.28 MB
        2. logs.zip.gz
          44.41 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty