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

[CX] Dataset remains same even if bucket is deleted

    XMLWordPrintable

Details

    • Untriaged
    • Unknown
    • CX Sprint 24, CX Sprint 25, CX Sprint 26, CX Sprint 27, CX Sprint 28, CX Sprint 29, CX Sprint 30

    Description

       
      1. Create bucket test with 1 document
      2. create connection and shadow dataset:
      file.txt:
      use CouchbaseAnalytics;
      create bucket test with {"bucket":"test","nodes":"172.23.107.182","password":"password"};
      create shadow dataset test_shadow on test;
      connect bucket test;
       
      3. Issue following curl command:
      curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode "statement@file.txt" http://localhost:8095/analytics/service
       
      4. issue a query in file1.txt:
      curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode "statement@file1.txt" http://localhost:8095/analytics/service
       
      where file1.txt has:
      use CouchbaseAnalytics;
      select count(1) from test_shadow;
       
      Result is correct.
       
      5. Delete bucket test from the node.
       
      6. Issue the query in file1.txt again :
      curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode "statement@file1.txt" http://localhost:8095/analytics/service
       
      Result is still 1 document .
       
      Dataset did not get updated even when the bucket was deleted.
      
      

      Attachments

        Issue Links

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

          Activity

            People

              till Till Westmann
              Prerna.Manaktala Prerna Manaktala (Inactive)
              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