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

[TLS] Travel-sample loading failed - JSON import failed: operation has timed out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • query
    • Untriaged
    • 1
    • Unknown

    Description

      Build: 7.1.0-2220

      • One node cluster with kv, query and index
      • enable n2n encryption

        /opt/couchbase/bin/couchbase-cli setting-autofailover -c http://localhost:8091 -u Administrator -p password --enable-auto-failover 0
        /opt/couchbase/bin/couchbase-cli node-to-node-encryption -c http://localhost:8091 -u Administrator -p password --enable
        

      • Load travel-sample
      • Run a query

        select name from `travel-sample`
        

      • Drop travel-sample
      • Enable encryption level to strict

        /opt/couchbase/bin/couchbase-cli setting-security -c http://localhost:8091 -u Administrator -p password --set --cluster-encryption-level strict
        

      • we see the following warnings in the indexer log - continuously

        2022-02-02T15:06:32.096-08:00 [Warn] handleBucketInfoChanges: ignoring ForceUpdateNotification as bucket is not found bucket travel-sample
        2022-02-02T15:06:32.097-08:00 [Warn] handleCollectionManifestChanges: ignoring ForceUpdateNotification as bucket is not found bucket travel-sample
         
         
        [root@cluster-g1 logs]# zgrep "bucket is not found bucket travel-sample"  indexer.log  |  wc -l
        423
        

      • Load travel-sample
      • It fails with below:

        2022-02-02T15:07:18.201-08:00 JSON import failed: failed to execute cluster operations: failed to execute bucket operation for bucket 'travel-sample': failed to execute N1QL queries for bucket 'travel-sample': failed to execute queries against sink bucket: failed to execute query: ambiguous timeout | {"InnerError":{"InnerError":{"InnerError":{},"Message":"ambiguous timeout"}},"OperationID":"http","Opaque":"8804be32-240e-4968-bafc-8788a6cc894f","TimeObserved":30000825252,"RetryReasons":null,"RetryAttempts":0,"LastDispatchedTo":"https://127.0.0.1:18093","LastDispatchedFrom":"","LastConnectionID":""} | {"statement":"CREATE PRIMARY INDEX def_primary on `travel-sample` USING GSI WITH {\"defer_build\":true}","client_context_id":"8804be32-240e-4968-bafc-8788a6cc894f"}
        JSON import failed: operation has timed out
        

      Logs:

      https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-02-02T231217-ns_1%40127.0.0.1.zip

      Attachments

        Issue Links

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

          Activity

            People

              girish.benakappa Girish Benakappa
              girish.benakappa Girish Benakappa
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty