Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1042

Bucket names needing characters escaped fail to connect.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: core-9.1.1
    • Fix Version/s: core-9.1.2
    • Component/s: library
    • Labels:
      None
    • Story Points:
      1

      Description

      on build 7.0.0-4255

      N1qltxn fails with "transaction fetch error" in the mid of the transaction.

      2021-01-20 04:36:09,484 | test  | INFO    | MainThread | [tuq_helper:run_cbq_query:147] RUN QUERY INSERT INTO default:`ec%a_vnq7XT-59-488000`.`_default`.`_default` (KEY k1, value t) SELECT DISTINCT t.name AS k1,t FROM default:`ec%a_vnq7XT-59-488000`.`_default`.`_default` t WHERE  join_mo=9 LIMIT 10 RETURNING *
      2021-01-20 04:36:09,484 | test  | INFO    | MainThread | [tuq_helper:run_cbq_query:163] query_params is {'txid': u'5912ec14-6dac-4190-905a-908f59224cb8', 'creds': [{'pass': 'password', 'user': 'Administrator'}, {'pass': u'a36e1d458ef402d9ebbbe0308a61f3cf', 'user': 'local:ZOFtDarP8EoIJ-59-487000'}, {'pass': u'18bc2e7ac2c676611800794820bd990e', 'user': 'local:ec%a_vnq7XT-59-488000'}, {'pass': u'a4985962aba61cd5262ac9caa6d70e64', 'user': 'local:rj-59-487000'}], 'scan_consistency': 'REQUEST_PLUS'}
      2021-01-20 04:36:12,003 | test  | INFO    | MainThread | [tuq_helper:run_cbq_query:204] TOTAL ELAPSED TIME: 2.513203514s
      2021-01-20 04:36:12,003 | test  | INFO    | MainThread | [N1qlBase:full_execute_query:366] txn failed with unexpected errors {u'signature': {u'*': u'*'}, u'requestID': u'f6018f0f-9955-4e18-b6c8-8985db5fcdc9', u'metrics': {u'resultCount': 0, u'executionTime': u'2.513099446s', u'serviceLoad': 1, u'resultSize': 0, u'errorCount': 1, u'elapsedTime': u'2.513203514s'}, u'results': [], u'errors': [{u'msg': u'Transaction fetch error', u'code': 17017, u'cause': {u'rollback': True, u'cause': {u'i': u'0x0', u's': u'LookupIn', u't': 2500603}, u'raise': u'failed', u'retry': True}}], u'status': u'errors'}
      

      cbcollect logs:
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/N1qltxn/collectinfo-2021-01-20T123639-ns_1@172.23.100.14.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/N1qltxn/collectinfo-2021-01-20T123639-ns_1@172.23.100.13.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/N1qltxn/collectinfo-2021-01-20T123639-ns_1@172.23.106.116.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/N1qltxn/collectinfo-2021-01-20T123639-ns_1@172.23.100.12.zip

      Raising it as critical, many tests has failed with this error

      Test case:
      guides/gradlew --refresh-dependencies testrunner -P jython=/opt/jython/bin/jython -P 'args=-i /tmp/testexec.68924.ini rerun=False,data_spec_name=initial_load_N1ql,GROUP=P0,get-cbcollect-info=True,upgrade_version=7.0.0-4255 -t N1qlTransaction.basic_ops.BasicOps.test_n1ql_query,nodes_init=4,num_buckets=2,num_stmt_txn=10,num_savepoints=2,num_collection=5,GROUP=P0,txntimeout=5,bucket_spec=multi_bucket.buckets_for_N1ql_tests'

        Attachments

          Issue Links

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

            Activity

            Hide
            anitha.kuberan Anitha Kuberan added a comment -

            Mihir Kamdar - Feb 16 sounds too far. we have around 20 - 25 test case failed due to this error. Feb 16 sounds too far only, in case if we can have a snapshot before that would really help.

            Show
            anitha.kuberan Anitha Kuberan added a comment - Mihir Kamdar - Feb 16 sounds too far. we have around 20 - 25 test case failed due to this error. Feb 16 sounds too far only, in case if we can have a snapshot before that would really help.
            Hide
            mihir.kamdar Mihir Kamdar added a comment -

            Brett Lawson any update on providing a snapshot release ?

            Show
            mihir.kamdar Mihir Kamdar added a comment - Brett Lawson any update on providing a snapshot release ?
            Hide
            Sitaram.Vemulapalli Sitaram Vemulapalli added a comment -

            7.0.0-4380+ should have this fix

            Show
            Sitaram.Vemulapalli Sitaram Vemulapalli added a comment - 7.0.0-4380+ should have this fix
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-7.0.0-4715 contains gocbcore commit 2a63892 with commit message:
            GOCBC-1042: Escape bucket names before using for HTTP requests

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4715 contains gocbcore commit 2a63892 with commit message: GOCBC-1042 : Escape bucket names before using for HTTP requests
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-3.0.0-225 contains gocbcore commit 2a63892 with commit message:
            GOCBC-1042: Escape bucket names before using for HTTP requests

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-225 contains gocbcore commit 2a63892 with commit message: GOCBC-1042 : Escape bucket names before using for HTTP requests

              People

              Assignee:
              charles.dixon Charles Dixon
              Reporter:
              anitha.kuberan Anitha Kuberan
              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