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

txn fails with "previous operation failed" error

    XMLWordPrintable

Details

    Description

      Description:
      On build 7.0.0-3264

      Few concurrent transaction tests fails with "previous operation failed" error while executing a statement.

      Error:

      2020-10-02 05:30:50,130 | test  | ERROR   | Thread-150 | [rest_client:_http_request:747] POST http://172.23.105.229:8093/query?txid=e8ddcf04-4f66-4a6f-8425-bc536e1a1c73&scan_consistency=REQUEST_PLUS&statement=INSERT+INTO+default%3A%60UgD%60.%60-R%60.%60d9qWHq9GKA7rCiaOvTyo%60+%28KEY+k1%2C+value+t%29+SELECT+DISTINCT+t.name+AS+k1%2Ct+FROM+default%3A%60UgD%60.%60-R%60.%60d9qWHq9GKA7rCiaOvTyo%60+t+WHERE++job_title%3D%27Support%27+LIMIT+10+RETURNING+%2A body:  headers: {'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==\n'} error: 500 reason: unknown {
      "requestID": "e354d8af-9d12-4f59-a5aa-fd6e8a31eaec",
      "signature": {"*":"*"},
      "results": [
      ],
      "errors": [{"code":5000,"msg":"txFetch - cause: transaction operation failed | previous operation failed"}],
      "status": "errors",
      "metrics": {"elapsedTime": "1.213762152s","executionTime": "1.213616562s","resultCount": 0,"resultSize": 0,"serviceLoad": 3,"errorCount": 1}
      } auth: Administrator:password
      
      

      attached tests.log and cb_collect output

      Link:
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/txn_n1ql/collectinfo-2020-10-02T123055-ns_1@172.23.105.229.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/txn_n1ql/collectinfo-2020-10-02T123346-ns_1@172.23.105.230.zip

      Attachments

        1. tests.log
          66 kB
          Anitha Kuberan
        2. tests.log
          55 kB
          Anitha Kuberan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Sitaram.Vemulapalli Sitaram Vemulapalli
            anitha.kuberan Anitha Kuberan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty