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

transaction Staging errors map to query error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • query
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Staging of the document into gocbcore transactions the error is reported is
      "code":17020,"message":"write error" with cause found existing document: document already exists
       

      Improve this as follows:

      During implicit or explicit staging:

      DocumentNotFound       :   N1QL  KEY_NOT_FOUND 17014

      DocumentExists, DocAlreadyInTransaction : N1QL DUPLICATE_KEY 17012

      AttemptExpired                       : N1QL Transaction expired 17010

      These errors will not include cause from gocbcore transactions.

      If the statement is commit:  Commit Transaction error 17007  with cause filled above error

      Attachments

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

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            Sitaram.Vemulapalli Sitaram Vemulapalli
            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