Details
-
Bug
-
Resolution: Fixed
-
Critical
-
4.0.0
-
Security Level: Public
-
Untriaged
-
Centos 64-bit
-
No
Description
Build
------
4.0.0-3265
Noticed indexer crashes when another node in cluster is not ready(returns KEY_ENOENT). Shouldn't there be a better way to handle this error?
2015-06-25T06:09:21.331Z-07:00 [Error] Indexer::getCurrentKVTs Error Connecting to KV Cluster 172.23.105.51:11210: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: Engine not found
|
panic: 172.23.105.51:11210: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: Engine not found
|
|
goroutine 1 [running]:
|
github.com/couchbase/indexing/secondary/common.CrashOnError(0x7fe4bd0c4c00, 0xc20afad560)
|
/home/couchbase/jenkins/workspace/sherlock-unix/goproj/src/github.com/couchbase/indexing/secondary/common/util.go:356 +0x50
|
github.com/couchbase/indexing/secondary/indexer.(*indexer).validateIndexInstMap(0xc20804f440)
|
/home/couchbase/jenkins/workspace/sherlock-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:2861 +0xd0f
|
github.com/couchbase/indexing/secondary/indexer.(*indexer).initFromPersistedState(0xc20804f440, 0x0, 0x0)
|
/home/couchbase/jenkins/workspace/sherlock-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:2706 +0x24b
|
github.com/couchbase/indexing/secondary/indexer.(*indexer).bootstrap(0xc20804f440, 0x0, 0x0)
|
/home/couchbase/jenkins/workspace/sherlock-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:2602 +0x272
|
github.com/couchbase/indexing/secondary/indexer.NewIndexer(0xc20806a5d0, 0x0, 0x0, 0x0, 0x0)
|
/home/couchbase/jenkins/workspace/sherlock-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:230 +0x1be9
|
main.main()
|
/home/couchbase/jenkins/workspace/sherlock-unix/goproj/src/github.com/couchbase/indexing/secondary/cmd/indexer/main.go:80 +0xa65
|
|
goroutine 5 [syscall, 2 minutes]:
|
os/signal.loop()
|
/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
|
created by os/signal.init·1
|
/usr/local/go/src/os/signal/signal_unix.go:27 +0x35
|