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

[CX] Dataset/Bucket does not exist messages shown in result even after dropping them

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • CBAS DP
    • CBAS DP
    • analytics
    • None
    • Untriaged
    • Centos 64-bit
    • Unknown
    • CX Sprint 21, CX Sprint 22

    Description

      File.txt contains:
      use CouchbaseAnalytics;
      drop dataset m123;
      drop bucket multiple_Bucket;
      create bucket multiple_Bucket with {"bucket":"multiple_table_db_357_simple_table_1","nodes":"127.0.0.1","password":""};
      create shadow dataset m123 on multiple_Bucket;
      connect bucket multiple_Bucket;
       
      In this case above bucket does exist in cluster.
       
      1) Issue the curl command:
      curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode statement@file.txt http://localhost:8095/analytics/service
       
      I see the following error message:
      "msg": "OnError while emitting onNext value: com.couchbase.client.core.message.config.BucketConfigResponse.class"
       
      2) Trying above curl command again:
       
      I see the following error message:
      "msg": "The bucket multiple_Bucket is already connected."
       
      3) Add disconnect bucket to the file:
      use CouchbaseAnalytics;
      disconnect bucket multiple_Bucket;
      drop dataset m123;
      drop bucket multiple_Bucket;
      create bucket multiple_Bucket with {"bucket":"multiple_table_db_357_simple_table_1","nodes":"127.0.0.1","password":""};
      create shadow dataset m123 on multiple_Bucket;
      connect bucket multiple_Bucket;
       
      I see the following error message:
      	"msg": "The bucket multiple_Bucket is not connected."
       
       
      
      

      Attachments

        1. logs.tar
          13 kB
        2. logs.tar
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty