Description
As part of CBSE-13829, there was a panic observed at the postings list level
invalid memory address or nil pointer dereference
|
|
goroutine 266940 [running]: |
github.com/blevesearch/bleve/v2/index/scorch.(*IndexSnapshotTermFieldReader).Count.func1()
|
/home/couchbase/jenkins/workspace/toy-unix-simple/godeps/src/github.com/blevesearch/bleve/index/scorch/snapshot_index_tfr.go:181 +0x85 |
panic({0xf47c00, 0x1e2e650}) |
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.18.7/go/src/runtime/panic.go:838 +0x207 |
github.com/RoaringBitmap/roaring.(*Bitmap).GetCardinality(...)
|
/home/couchbase/.cbdepscache/gomodcache/pkg/mod/github.com/!roaring!bitmap/roaring@v0.9.4/roaring.go:667 |
github.com/blevesearch/zapx/v15.(*PostingsList).Count(0xc00f171680?) |
/home/couchbase/jenkins/workspace/toy-unix-simple/godeps/src/github.com/blevesearch/zapx/posting.go:240 +0xd4 |
github.com/blevesearch/bleve/v2/index/scorch.(*IndexSnapshotTermFieldReader).Count(0xc01c9a0d60?) |
/home/couchbase/jenkins/workspace/toy-unix-simple/godeps/src/github.com/blevesearch/bleve/index/scorch/snapshot_index_tfr.go:191 +0xe3 |
there was some amount of investigation done on this panic as part of MB-56226, however a concrete root cause was yet to be determined due to the intermittent nature of the panic that happens in a highly improbable scenario.