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

[TLS] transaction fails when going from strict to control

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • query
    • 7.1.0-1279
    • Untriaged
    • 1
    • Unknown

    Description

      To repro:

      • setup 2 node cluster
      • load travel-sample
      • disable auto-failover
      • enable N2N encryption: /opt/couchbase/bin/couchbase-cli node-to-node-encryption -c http://localhost:8091 -u Administrator -p password --enable
      • enable strict mode:  /opt/couchbase/bin/couchbase-cli setting-security -c http://localhost:8091 -u Administrator -p password --set --cluster-encryption-level strict
      • run query in transaction (should work) e.g. select airportname from `travel-sample`.inventory.airport where city = 'Lyon';
      • enable control mode: /opt/couchbase/bin/couchbase-cli setting-security -c http://localhost:8091 -u Administrator -p password --set --cluster-encryption-level control
      • rerun query in transaction ... will fail

      cbq> select airportname from `travel-sample`.inventory.airport where city = 'Lyon';
      {
          "requestID": "f1b598b7-5d6e-4399-bcf0-b95653eafc66",
          "signature": {
              "airportname": "json"
          },
          "results": [
          ],
          "errors": [
              {
                  "cause": {
                      "cause": {
                          "-": {
                              "InnerError": {
                                  "InnerError": {},
                                  "Message": "unambiguous timeout"
                              }
                          },
                          "i": "0x0",
                          "s": "LookupIn",
                          "t": 2500815
                      },
                      "raise": "failed",
                      "retry": true,
                      "rollback": true
                  },
                  "code": 17017,
                  "msg": "Transaction fetch error"
              }
          ],
          "status": "errors",
          "metrics": {
              "elapsedTime": "2.56480491s",
              "executionTime": "2.564635168s",
              "resultCount": 0,
              "resultSize": 0,
              "serviceLoad": 1,
              "transactionElapsedTime": "5.921092717s",
              "transactionRemainingTime": "1m54.078777666s",
              "errorCount": 1
          }
      }
      
      

      See attached logs.

      Attachments

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

        Activity

          People

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