Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-408

Unable to create query index on Server 6.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.4.0
    • None
    • library
    • None
    • Release Note
    • 0

    Description

      After changes introduced in CXXCBC-275, the SDK gets error when creating query indexes.

      Failure:
      test_query_with_named_parameters(Minitest::Result) [/home/couchbase/jenkins/workspace/ruby/ruby-build-pipeline/test-sdkqe-centos7-3.0-2145/vendor/bundle/ruby/3.0.0/gems/couchbase-3.4.0.snapshot.2145-x86_64-linux/lib/couchbase/management/query_index_manager.rb:387]:
      Couchbase::Error::InternalServerFailure: unable to create primary index on the bucket "default" (1065: Unrecognized parameter in request: query_context): internal_server_failure (5), context={"error":"5, internal_server_failure (5)","client_context_id":"880526-1037-504c-67c8-403882ecf8c0e0","method":"POST","path":"/query/service","http_status":400,"http_body":"{\n\"requestID\": \"c7df4285-f54f-4111-b7f1-df176775e172\",\n\"errors\": [{\"code\":1065,\"msg\":\"Unrecognized parameter in request: query_context\"}],\n\"status\": \"fatal\",\n\"metrics\": {\"elapsedTime\": \"785.526µs\",\"executionTime\": \"140.483µs\",\"resultCount\": 0,\"resultSize\": 0,\"errorCount\": 1}\n}\n","last_dispatched_to":"172.23.111.142:8093","last_dispatched_from":"172.18.0.3:52308"}
          /home/couchbase/jenkins/workspace/ruby/ruby-build-pipeline/test-sdkqe-centos7-3.0-2145/vendor/bundle/ruby/3.0.0/gems/couchbase-3.4.0.snapshot.2145-x86_64-linux/lib/couchbase/management/query_index_manager.rb:387:in `query_index_create_primary'
          /home/couchbase/jenkins/workspace/ruby/ruby-build-pipeline/test-sdkqe-centos7-3.0-2145/vendor/bundle/ruby/3.0.0/gems/couchbase-3.4.0.snapshot.2145-x86_64-linux/lib/couchbase/management/query_index_manager.rb:387:in `create_primary_index'
          /home/couchbase/jenkins/workspace/ruby/ruby-build-pipeline/test-sdkqe-centos7-3.0-2145/test/query_test.rb:29:in `setup'
      

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            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