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

select from keyspaces shows a fetch value of "\u003cnil\u003e" with couchbase, memcached buckets present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 4.0.0
    • query
    • Security Level: Public
    • None
    • 400-1757
      centos
      1 node, 2 buckets
    • Untriaged
    • Unknown

    Description

      1. create a memcached bucket - not supported for n1ql
      2. query the system catalog tables :
      select * from system:keyspaces
      cbq> select * from system:keyspaces;
      {
      "requestID": "64b56da2-8755-44d1-a393-cbec5f6c52f1",
      "signature":

      { "*": "*" }

      ,
      "results": [
      ],
      "errors": [

      { "code": 5030, "msg": "Invalid fetch value \u003cnil\u003e of type %!T(MISSING)" }

      ],
      "status": "stopped",
      "metrics":

      { "elapsedTime": "180.847729ms", "executionTime": "180.491707ms", "resultCount": 0, "resultSize": 0, "errorCount": 1 }

      }

      This error should be " not supported bucket type memcached"

      2.Drop the above bucket and create other couchbase buckets.
      3. Query system :keyspaces, it still shows the above result and does not detect the new keyspaces - which is odd.

      4. kill, restart the cbq client on the node and issue the above command,
      Still see the same error.

      Added logs.
      Adding this as a script shortly. and this is easy to repro.

      Attachments

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

        Activity

          People

            colm Colm Mchugh (Inactive)
            ketaki Ketaki Gangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty