Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1789

adhoc(false) causes query_context to be ignored. shows queryContext in error message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None
    • 1

    Description

      The error indicates that there was not query_context parameter on the call.
      The error messages shows queryContext (instead of query_context) in the error message (although this might just be from toString(), and not indicate what was actually sent to the server). 

      com.couchbase.client.core.error.IndexFailureException: The server reported an issue with the underlying index
      {"completed":true,"coreId":"0xb9aad4a000000003","errors":[

      {"code":12003,"message":"Keyspace not found in CB datastore: default:_default - cause: No bucket named _default"}

      ],"idempotent":true,"lastDispatchedFrom":"10.144.210.1:63549","lastDispatchedTo":"10.144.210.101:8093","requestId":68,"requestType":"QueryRequest","retried":0,"service":{"operationId":"4426bfd0-8042-47fa-9d10-81882175c579","queryContext":"`default`:`my_bucket`._default","statement":"PREPARE select * from `_default` where META().id >= 'a3ff4660-99de-43a2-bf6f-452408cbffc6'","type":"query"},"timeoutMs":75000,"timings":{"dispatchMicros":52544,"totalMicros":57574}}

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            michael.reiche Michael Reiche
            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