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

Please add a unique error code for EXECUTE __get on document that does not exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • query
    • 1

    Description

      Testing with 7.0.0-3580 here.

      If I do a transactional `EXECUTE __get` with `{"txdata":{"kv":true}}`, on a document that doesn't exist then I get an error.  Which is desirable, except the error is a generic 5000:

      "code":5000,"message":"txFetch - cause: key (580559f7-1d8a-4a09-a703-1387266e2462), OP(GET), transaction operation failed | document not found 

      Can a custom error code please be added for this scenario.

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty