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

N1QL now returns status code 200 on error.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.5.0
    • 4.5.0
    • query
    • None
    • Version: 4.5.0-1301 Enterprise Edition (build-1301)
      Cluster State ID: 014-010-120
    • Untriaged
    • Unknown

    Description

      Performing a N1QL query on Watson builds will return status code 200 when errors occur. The specific example I have encountered is that doing a `CREATE PRIMARY INDEX` query will return an error if the index already exists, but the status code is 200. Note that this will break compatibility between older SDK clients and newer server versions, as it was previously assumed that N1QL would indicate an error when an error occurred.

      Attachments

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

        Activity

          People

            korrigan.clark Korrigan Clark (Inactive)
            brett19 Brett Lawson
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty