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

[CX] Dataset not empty after flushing a bucket, wait time 15 minutes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • feature-backlog
    • feature-backlog
    • analytics
    • None
    • Untriaged
    • Unknown

    Description

      Tested the below scenario for password protected buckets also.
      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. Flush bucket test.
       
      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 .
       
      I also retried step 6 after 15 mins and got same result.
      

      Attachments

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

        Activity

          People

            Abdullah.Alamoudi Abdullah Alamoudi [X] (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