Details
-
Bug
-
Resolution: Resolved
-
Critical
-
7.0.5
-
Triaged
-
1
-
Yes
Description
This was seen with an automated test. I've attached the test and the log bundles.
Excerpts from the log:
2022-10-28T01:20:50.359-07:00 [Info] RebalanceServiceManager::GetCurrentTopology [] |
2022-10-28T01:20:50.359-07:00 [Info] RebalanceServiceManager::GetCurrentTopology returns &{Rev:[0 0 0 0 0 0 0 13] Nodes:[221a78773f175db38d7d3d7c6be42ef8 85d5abdd9f8c66ae589d06cd94e137d0] IsBalanced:false Messages:[]} |
2022-10-28T01:20:50.360-07:00 [Info] GenericServiceManager::GetTaskList: called with rev: [0 0 0 0 0 0 0 13] |
2022-10-28T01:20:50.360-07:00 [Info] RebalanceServiceManager::GetCurrentTopology [0 0 0 0 0 0 0 13] |
2022-10-28T01:20:50.369-07:00 [Info] DDLServiceMgr::rebalanceDone: Returned |
panic: runtime error: invalid memory address or nil pointer dereference
|
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xb2a2b9] |
|
goroutine 1147 [running]: |
github.com/couchbase/indexing/secondary/common.(*internalVersionCache).Get(0x7f7d81d4f410?, {0xc005ad9180?, 0xc005b21190?}) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/common/internal_version.go:266 +0x39 |
github.com/couchbase/indexing/secondary/common.(*internalVersionChecker).getVerFailNodes(0xc005928980, 0xc006094540) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/common/internal_version.go:502 +0x393 |
github.com/couchbase/indexing/secondary/common.(*internalVersionChecker).getVersion(0xc005928980) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/common/internal_version.go:435 +0x3a5 |
github.com/couchbase/indexing/secondary/common.GetInternalClusterVersion({0x1baf1a8?, 0xc004e60c80}, 0x1) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/common/internal_version.go:765 +0x377 |
github.com/couchbase/indexing/secondary/manager/client.NewMetadataProvider({0x7fffda82b76c, 0xe}, {0xc005b42318, 0x16}, 0x0, 0x0, {0x1bace10?, 0xc0005ccdc0}) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/manager/client/metadata_provider.go:257 +0x3ee |
github.com/couchbase/indexing/secondary/indexer.newMetadataProvider({0x7fffda82b76c, 0xe}, 0xc005f3d620, 0x20?, {0x17ac1b0, 0x1d}) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/ddl_service_manager.go:1888 +0x745 |
github.com/couchbase/indexing/secondary/indexer.(*DDLServiceMgr).rebalanceDone(0xc004560840, 0xc0002011f0, 0x0) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/ddl_service_manager.go:329 +0x17d |
github.com/couchbase/indexing/secondary/indexer.notifyRebalanceDone(0x12e3a46?, 0x80?) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/ddl_service_manager.go:307 +0x39 |
created by github.com/couchbase/indexing/secondary/indexer.(*RebalanceServiceManager).rebalanceOrFailoverDoneCallback.func1.1 |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/rebalance_service_manager.go:2042 +0x7a |
This was seen on 172.23.121.182 node.
[^test_7.zip]
Attachments
For Gerrit Dashboard: MB-54338 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182132,2 | MB-54338 fix panic for nil cache | cheshire-cat | indexing | Status: MERGED | +2 | +1 |