Details
-
Bug
-
Resolution: Unresolved
-
Major
-
7.6.0
-
None
-
Untriaged
-
0
-
Unknown
Description
- DropIndex on node n_1 fails since indexer panics and restarts.
- Run: logs-15.03.2024-09.30
- LogLink: https://drive.google.com/file/d/16WKEjKd5ufLzPmuach6a1OA_iOthHxYi/view?usp=drive_link
=== RUN TestCreateAfterDropWhileIndexBuilding
|
2024/03/15 14:31:14 In TestCreateAfterDropWhileIndexBuilding() |
...
|
common_test.go:173: Error dropping index2: Fail to drop index on some indexer nodes. Error=Terminate Request due to server termination |
. If cluster or indexer is currently unavailable, the operation will automatically retry after cluster is back to normal.
|
--- FAIL: TestCreateAfterDropWhileIndexBuilding (87.39s) |
2024-03-15T14:32:41.454+05:30 [Info] Indexer::run:msg_loop: CLUST_MGR_DROP_INDEX_DDL message from internalAdminRecvCh channel processing took 9.672628ms |
2024-03-15T14:32:41.454+05:30 [Info] StorageMgr::handleCreateSnapshot Re-adjusting the streamKeyspaceIdInstsPerWorker map to 40 workers. StreamId: INIT_STREAM, keyspaceId: default |
2024-03-15T14:32:41.454+05:30 [Info] clustMgrAgent::OnIndexDelete Success for Drop IndexId 13492503246321587592 |
2024-03-15T14:32:41.455+05:30 [Info] Timekeeper::processFlushAbort Flush Abort Received INIT_STREAM default |
FlushTs <nil>
|
LastFlushTs <nil>
|
panic: runtime error: invalid memory address or nil pointer dereference
|
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1618a68] |
goroutine 65 [running]: |
container/list.(*List).Init(...)
|
/home/buildbot/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/container/list/list.go:55 |
github.com/couchbase/indexing/secondary/indexer.(*timekeeper).processFlushAbort(0xc002696240, 0x3, {0xc00d7eaa06, 0x7}) |
/opt/build/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:749 +0x2c8 |
github.com/couchbase/indexing/secondary/indexer.(*timekeeper).handleFlushDone(0xc002696240, {0x1fbb0c0?, 0xc016c19e00}) |
/opt/build/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:690 +0x51d |
github.com/couchbase/indexing/secondary/indexer.(*timekeeper).handleSupervisorCommands(0xc002696240?, {0x1fbb0c0, 0xc016c19e00}) |
/opt/build/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:214 +0x265 |
github.com/couchbase/indexing/secondary/indexer.(*timekeeper).run(0xc002696240) |
/opt/build/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:151 +0x3b |
created by github.com/couchbase/indexing/secondary/indexer.NewTimekeeper in goroutine 1 |
/opt/build/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:118 +0x1f6 |
2024-03-15T14:32:42.394+05:30 [Info] Indexer started with command line: [/opt/build/install/bin/indexer -adminPort=9106 -scanPort=9107 -httpPort=9108 -streamInitPort=9109 -streamCatchupPort=9110 -streamMaintPort=9111 --httpsPort=19108 --certFile=/opt/build/ns_server/data/n_1/config/certs/chain.pem --keyFile=/opt/build/ns_server/data/n_1/config/certs/pkey.pem --caFile=/opt/build/ns_server/data/n_1/config/certs/ca.pem --clientCertFile=/opt/build/ns_server/data/n_1/config/certs/client_chain.pem --clientKeyFile=/opt/build/ns_server/data/n_1/config/certs/client_pkey.pem -ipv4=required -ipv6=optional -cluster=127.0.0.1:9001 -storageDir=/opt/build/ns_server/data/n_1/data/@2i -diagDir=/opt/build/ns_server/data/n_1/crash -logDir=/opt/build/ns_server/logs/n_1 -nodeUUID=21b6dfcf3b9a5c78b92e5a4e1009ff8c -isEnterprise=true --deploymentModel=default] |
2024-03-15T14:32:42.394+05:30 [Info] Indexer DeploymentModel is set to: default |