Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.2.1
-
Enterprise Edition 7.2.1 build 5839
-
Untriaged
-
0
-
Unknown
Description
From the query.log
2023-07-08T21:54:56.100-07:00 [Info] serviceChangeNotifier: received PoolChangeNotification |
2023-07-08T21:54:56.104-07:00 [Info] Refreshing indexer list due to cluster changes or auto-refresh. |
2023-07-08T21:54:56.104-07:00 [Info] Refreshed Indexer List: [172.23.105.122:9100 172.23.106.171:9100 172.23.106.176:9100 172.23.97.108:9100 172.23.97.109:9100] |
2023-07-08T21:54:56.112-07:00 [Info] switched currmeta from 33479 -> 33479 force true |
panic: runtime error: slice bounds out of range [1:0] |
|
goroutine 2769108 [running]: |
github.com/couchbase/query/datastore/couchbase.key(...)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/datastore/couchbase/couchbase.go:1632 |
github.com/couchbase/query/datastore/couchbase.(*keyspace).getRandomEntry(0xc001d6e000, {0xc001a12b00?, 0xc0965e5200?}, {0xefe717?, 0x0?}, {0xc0965e5218?, 0x1, 0x3e0000000000005c?}) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/datastore/couchbase/couchbase.go:1660 +0x21e |
github.com/couchbase/query/datastore/couchbase.(*collection).GetRandomEntry(0xc00237c5a0, {0x2f341a0?, 0xc001a12b00?}) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/datastore/couchbase/collections.go:314 +0xa6 |
github.com/couchbase/query/inferencer.(*UnifiedDocumentRetriever).getRandom(0xc02d303320, {0x2f341a0, 0xc001a12b00}) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/inferencer/document_retrievers.go:484 +0x82 |
github.com/couchbase/query/inferencer.(*UnifiedDocumentRetriever).GetNextDoc(0xc02d303320, {0x2f341a0, 0xc001a12b00}) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/inferencer/document_retrievers.go:533 +0xab |
github.com/couchbase/query-ee/updstat.doUpdateStatistics({0x2f3b9f8, 0xc00237c5a0}, {0x2f1c060, 0xc02d303320}, {0xc005d11c20, 0x5, 0xc0598838f0?}, 0x0, 0x199?, 0xc0965e5a20, ...) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query-ee/updstat/upd_statistics.go:370 +0x1c7 |
github.com/couchbase/query-ee/updstat.(*DefaultStatUpdater).UpdateStatistics(0xc00002a1e0?, {0x2f3b9f8, 0xc00237c5a0}, {0xc0177726e0?, 0x2, 0x2}, {0x0, 0x0, 0x0}, {0x2f41ce0, ...}, ...) |
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query-ee/updstat/upd_statistics.go:290 +0x216f |
created by github.com/couchbase/query/execution.(*UpdateStatistics).RunOnce.func1
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/update_stat.go:87 +0x57d |
cbcollect ->
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.105.122.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.106.171.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.106.176.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.96.198.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.96.230.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.96.245.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.97.100.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.97.108.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.97.109.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.97.66.zip |
url : https://cb-jira.s3.us-east-2.amazonaws.com/logs/systestmon-1688903294/collectinfo-2023-07-09T114816-ns_1%40172.23.97.67.zip |
This looks like a different panic from https://issues.couchbase.com/browse/MB-57751 and https://issues.couchbase.com/browse/MB-57695. Please close this as a duplicate if it turns out to be the same.