Details
-
Bug
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
Enterprise Edition 7.0.0 build 2241
-
Untriaged
-
Centos 64-bit
-
-
1
-
Unknown
Description
Build: 7.0.0-2241
Scenario:
- Two node cluster, Couchbase bucket(replica=1)
+----------------+-----------------+-----------------+------------+------------+----------------+
| Node | Services | CPU_utilization | Mem_total | Mem_free | Swap_mem_used |
+----------------+-----------------+-----------------+------------+------------+----------------+
| 172.23.105.155 | index, kv, n1ql | 1.76322418136 | 4201840640 | 3499253760 | 0 / 3758092288 |
| 172.23.105.159 | kv | 2.00501253133 | 4201840640 | 3493535744 | 0 / 3758092288 |
+----------------+-----------------+-----------------+------------+------------+----------------+
- Load 100 docs to the default collection
- Stop Memcached on each node individually and load docs targeting the other node such that sync_writes will be aborted.
From query.log
2020-08-05T23:01:05.412-07:00 [Info] switched currmeta from 1 -> 1 force true
|
panic: runtime error: invalid memory address or nil pointer dereference
|
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1d0f4a8]goroutine 1918 [running]:
|
github.com/couchbase/query/datastore/couchbase.(*collection).Count(0x0, 0x24a4da0, 0x36dfd00, 0xc000527d68, 0xd200e6, 0xc0008e5f80)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/datastore/couchbase/collections.go:185 +0x48
|
github.com/couchbase/query/inferencer.(*DefaultInferencer).InferKeyspace(0xc0003c83a0, 0x24c5400, 0x0, 0x24cdac0, 0xc000884360, 0xc000705140)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/inferencer/describe_keyspace.go:187 +0x64
|
created by github.com/couchbase/query/execution.(*InferKeyspace).RunOnce.func1
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/infer_keyspace.go:73 +0x3cd
|
_time=2020-08-05T23:01:05.741-07:00 _level=INFO _msg= Initialization of cbauth succeeded
|