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

http 500 should not be returned if an index is already built

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 6.5.0
    • 4.5.0
    • secondary-index
    • Untriaged
    • Unknown

    Description

      Run the following commands:

      CREATE PRIMARY INDEX gamesim_primary on `gamesim-sample` USING GSI
      (Wait for the index to be built)
      BUILD INDEX ON `gamesim-sample`(gamesim_primary) USING GSI

      The build index command returns an error that says that the index is built, but the HTTP error code is 500. This is incorrect because HTTP 500 means that something went wrong in the server. This is not what happened. The server properly executed this query and returned an error code.It seems this return code should be 200 since the request was processed successfully.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              prathibha Prathibha Bisarahalli (Inactive)
              mikew Mike Wiederhold [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty