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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 7.0.2
    • 7.0.2
    • query
    • 7.0.1-5999
    • Untriaged
    • 1
    • 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

          Duplicate of MB-47891

          isha Isha Kandaswamy added a comment - Duplicate of MB-47891

          Verified with 7.0.2-6544

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

          People

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