Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1207

[GOCB] [Query] Unable to execute query due to operation timeout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Resolved
    • Major
    • None
    • 2.3.4
    • library
    • None
    • 1

    Description

      What's the issue?
      I'm currently unable to execute a simple N1QL query to create a primary index with 'gocb' when using 'cluster_run'.

      Steps to reproduce
      1) Spin up a single node cluster using 'cluster_run --nodes 1 --dont-rename' and 'cluster_connect -n 1 -s 8192 -T n0:kv+index+n1ql -M plasma'
      2) Run the provided Go script using 'go run main.go'

      In theory, you should see the operation to create the index timeout, whether that be due to the SDK or query, I don't know.

      Observations
      I've also tested this against a non 'cluster_run' cluster, and it worked as expected.

      Cluster Logs
      1) collectinfo-2021-12-06T133011-ns_1@127.0.0.1.zip (Test against a normal cluster)
      2) collectinfo-2021-12-06T133920-n_0@cb.local.zip (Test against cluster_run)
      3) cluster_run.log (The verbose output from 'gocb')

      Attachments

        1. cluster_run.log
          25 kB
        2. collectinfo-2021-12-06T133011-ns_1@127.0.0.1.zip
          1.86 MB
        3. collectinfo-2021-12-06T133920-n_0@cb.local.zip
          5.02 MB
        4. go.mod
          0.4 kB
        5. go.sum
          62 kB
        6. main.go
          1 kB

        Issue Links

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

          Activity

            People

              james.lee James Lee
              james.lee James Lee
              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