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

Internal Error is raised on executing cbas query when one of the CBAS node is down

    XMLWordPrintable

Details

    Description

      Steps to reproduce -

      1. Create a 4 node cluster with 1 KV and 3 cbas nodes.
      2. Load travel-sample bucket.
      3. Run analyze analytics collection DDL on all the datasets under `travel-sample`.inventory dataverse.
      4. Stop couchbase server on one of the CBAS node (not CC node)
      5. Try to execute following query -

      Explain select count(*) from (select ar.airportname, al.name as airlinename, ht.name as hotelname, ld.name as landmark from `travel-sample`.inventory.airport ar, `travel-sample`.inventory.airline al, `travel-sample`.inventory.hotel ht, `travel-sample`.inventory.landmark ld where ar.country = al.country and ar.city = ht.city and ht.city = ld.city) as x;

      Following error is observed -

      {
          "requestID": "68791750-ad97-4925-8856-54ee9fc9b4d4",
          "clientContextID": "null",
          "errors": [{ 
              "code": 25000,        "msg": "Internal error"    } 
          ],
          "status": "fatal",
          "metrics": {
              "elapsedTime": "338.77644ms",
              "executionTime": "337.309503ms",
              "resultCount": 0,
              "resultSize": 0,
              "processedObjects": 0,
              "errorCount": 1
          }
      } 

      Attachments

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

        Activity

          People

            umang.agrawal Umang
            umang.agrawal Umang
            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