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

[TLS] DML fail (insert) with TLS strict mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 7.0.2
    • Fix Version/s: 7.0.2
    • Component/s: query
    • Labels:
    • Environment:
      7.0.1-5999
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      To repro.

      • setup 2 nodes cluster (kv:n1ql:index-kv)
      • enable N2N encryption: /opt/couchbase/bin/couchbase-cli node-to-node-encryption -c http://localhost:8091 -u Administrator -p password --enable
      • set TLS strict mode: /opt/couchbase/bin/couchbase-cli setting-security -c http://localhost:8091 -u Administrator -p password --set --cluster-encryption-level strict
      • Try simple insert: insert into bucket1 (key, value) values ('k01', {'a':1});

      Error return is:

      cbq> insert into bucket1 (key, value) values ('k01', {'a':1});
      {
          "requestID": "2f15c437-6336-4649-b85d-0b20ffa3d288",
          "signature": null,
          "results": [
          ],
          "errors": [
              {
                  "code": 12009,
                  "msg": "DML Error, possible causes include concurrent modificationFailed to perform INSERT - cause: Key k01 - cause: unable to complete action after 4 attempts: \u003cnil\u003e"
              }
          ],
          "status": "errors",
          "metrics": {
              "elapsedTime": "760.559599ms",
              "executionTime": "760.425816ms",
              "resultCount": 0,
              "resultSize": 0,
              "serviceLoad": 6,
              "errorCount": 1
          }
      } 

       

       

        Attachments

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

          Activity

          Hide
          isha Isha Kandaswamy added a comment -

          Duplicate of MB-47891

          Show
          isha Isha Kandaswamy added a comment - Duplicate of MB-47891
          Hide
          pierre.regazzoni Pierre Regazzoni added a comment -

          Verified with 7.0.2-6544

          Show
          pierre.regazzoni Pierre Regazzoni added a comment - Verified with 7.0.2-6544

            People

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