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

[CX] Timing (race) issue for new shadow datasets

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • 6.5.0
    • CBAS DP
    • analytics
    • Current CBAS binary bits plus Couchbase Server Version: 4.5.0-2601 Enterprise Edition (build-2601)

    Description

      If I do the following all at once, I get an empty result instead of three beers, whereas if I do the query after doing the DDL (with a bit of delay), it works properly. It seems that maybe the connect is returning before the initial data-shadowing is done?

      create bucket BeerBucket with

      {"bucket":"beer-sample","nodes":"127.0.0.1","password":""}

      ;
      create shadow dataset Beer on BeerBucket;
      connect bucket BeerBucket;
      USE CouchbaseAnalytics;
      SELECT * FROM Beer LIMIT 3;

      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
              mike.carey Mike Carey
              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