Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.0.0
-
Untriaged
-
No
Description
Ran longevity test and saw following panic in indexer log, attached full log file.
This panic happens after 4-5 hours in longevity test run. Test is pretty simple where scans happens with kv ops.
panic: duplicate index node
__
goroutine 666 [running]:
panic(0xbc8e80, 0xcc0538d860)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.7.3/go/src/runtime/panic.go:500 +0x1a1 fp=0xd391f978f0 sp=0xd391f97860
github.com/t3rm1n4l/nitro/plasma.(*Plasma).indexPage(0xc42322bd40, 0xc86260, 0xcc0a6b8000, 0xcca5cc55c0)
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/t3rm1n4l/nitro/plasma/plasma.go:476 +0x105 fp=0xd391f97958 sp=0xd391f978f0
github.com/t3rm1n4l/nitro/plasma.(*Plasma).trySMOs(0xc42322bd40, 0xc86260, 0xcc0a904ea0, 0x14455e0, 0xc4f210bec0, 0xcca5cc55c0, 0xc4f210be01, 0x0)
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/t3rm1n4l/nitro/plasma/plasma.go:618 +0x790 fp=0xd391f97af0 sp=0xd391f97958
github.com/t3rm1n4l/nitro/plasma.(*Writer).Insert(0xcca57d1ad0, 0xcc0a905d40, 0xc, 0xc)
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/t3rm1n4l/nitro/plasma/plasma.go:688 +0xed fp=0xd391f97b78 sp=0xd391f97af0
github.com/t3rm1n4l/nitro/plasma.(*Writer).InsertKV(0xcca57d1ad0, 0xcbe15cf460, 0xc, 0xc, 0xc42457e000, 0xd, 0x3102, 0x0, 0x0)
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/t3rm1n4l/nitro/plasma/mvcc.go:216 +0xb8 fp=0xd391f97bd8 sp=0xd391f97b78
github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).insertSecIndex(0xc4245682c0, 0xcbe2bd71b0, 0xb, 0x10, 0xcbe15cf460, 0xc, 0xc, 0x0, 0x587e46c5)
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:376 +0x2ba fp=0xd391f97d10 sp=0xd391f97bd8
github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).insert(0xc4245682c0, 0xcbe2bd71b0, 0xb, 0x10, 0xcbe15cf460, 0xc, 0xc, 0x0, 0x1)
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:334 +0xcb fp=0xd391f97d70 sp=0xd391f97d10
github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).handleCommandsWorker(0xc4245682c0, 0x0)
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:293 +0x4f6 fp=0xd391f97f90 sp=0xd391f97d70
runtime.goexit()
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.7.3/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xd391f97f98 sp=0xd391f97f90
created by github.com/couchbase/indexing/secondary/indexer.NewPlasmaSlice
/home/couchbase/jenkins/workspace/watson-toy/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:153 +0xa9b
__
Attachments
For Gerrit Dashboard: MB-22433 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
74514,2 | MB-22433 plasma: Fix race condition in page split colliding with merge | unstable | nitro | Status: MERGED | +2 | +1 |
75067,1 | MB-22433 plasma: Fix a race condition in concurrent page delete + split insert | unstable | nitro | Status: MERGED | +2 | +1 |