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

Connect bucket fails after CC node is rebalance out.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.5.0
    • analytics
    • 5.5.0-2361

    Description

      1. Create a cluster with 1 KC and 3 cbas nodes and a default bucket.
      2. Setup CBAS:

      create bucket default_bucket with {"name":"default"};
      create shadow dataset default_ds on default_bucket;
      connect bucket default_bucket
      

      3. Ingest 20k docs.
      4. Queue up 10 queries in async mode:

      select sleep(count(*),50000) from default_ds;

      5. Rebalance out CC node. Rebalance successful.
      6. disconnect bucket and add 20k more docs to KV bucket. Now there are 40k docs.
      7. Now connect bucket and it fails.
      Output

      [
        {
          "code": 1,
          "msg": "IllegalStateException: Index with 1 disk components has no DCP state",
          "query_from_user": "connect bucket default_bucket"
        }
      ]
      

      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)
            ritesh.agarwal Ritesh Agarwal
            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