Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
6.0.1
-
Untriaged
-
Unknown
Description
When system runs out of file handles, the panic was observed even before calling the actual storage api for metadata.
github.com/couchbase/indexing/secondary/fdb.(*KVStore).GetKV(0x0, 0xc47791af90, 0x9, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0)
|
goproj/src/github.com/couchbase/indexing/secondary/fdb/kv.go:23 +0x73
|
Line 23 is calling the Lock() function for advLock.
22 func (k *KVStore) GetKV(key []byte) ([]byte, error) {
|
23 k.Lock()
|
24 defer k.Unlock()
|
https://github.com/couchbase/indexing/blob/alice/secondary/fdb/kv.go#L22-L24
|
This is unexpected and seems to indicate that somehow the KVStore data structure itself is corrupted.