Details
-
Bug
-
Resolution: Resolved
-
Major
-
None
-
2.3.4
-
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')