Index on one of our node went into warmup with a panic message. We created the index and data is being loaded into this cluster using XDCR (about 248 million docs into one bucket). Index is catching up with XDCR load but after loading 223 million into the bucket the index went to stale and status showing warmup on one of the node.
we are using Community edition 6.6 and it is a 6 node cluster and we have indexes on 4 nodes and one of them is throwing the above error. I restarted couchbase service to see if that will fix the issue but it did not. I checked disk space and we got more than 70% free on disks.
Can someone please help. Thanks in advance.
Below is the log message in the UI:
Service ‘indexer’ exited with status 2. Restarting. Messages:
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).updateIndexSnapMapForIndex(0xc423e80700, 0x2b211001685116ef, 0x2b211001685116ef, 0xaeb671582be8ce5, 0xc423dc4810, 0xa, 0xc423dc47f8, 0x8, 0xc423dc4820, 0x6, …)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:1591 +0x249
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).handleUpdateIndexSnapMapForIndex(0xc423e80700, 0x199f2a0, 0xc4200b0a00)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:1632 +0x1d9
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).handleSupvervisorCommands(0xc423e80700, 0x199f2a0, 0xc4200b0a00)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:205 +0x19b
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).run(0xc423e80700)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:160 +0xbb
created by github.com/couchbase/indexing/secondary/indexer.NewStorageManager
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:137 +0x27a
And this is the log message from Indexer log:
2020-12-02T20:46:13.014-05:00 [Error] ForestDBSnapshot::Open
Unexpected Error Opening Main DB Snapshot (/indexes/couchbase/indexes/@2i/orders_idx_aux_08_3107782816093509359_0.index) SeqNum 47711727 FDB_RESULT_NO_DB_INSTANCE
panic: Unable to open snapshot -FDB_RESULT_NO_DB_INSTANCE
goroutine 243 [running]:
panic(0xeb12c0, 0xc4241348d0)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.7.6/go/src/runtime/panic.go:500 +0x1a1
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).openSnapshot(0xc42373b180, 0x2b211001685116ef, 0x19ab660, 0xc4239abd40, 0x19b2040, 0xc423eb2990, 0xc423f6a3f0, 0xc4236f7140, 0x1, 0x4, …)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:1513 +0x470
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).updateIndexSnapMapForIndex(0xc42373b180, 0x2b211001685116ef, 0x2b211001685116ef, 0xaeb671582be8ce5, 0xc423ace950, 0xa, 0xc423ace938, 0x8, 0xc423ace960, 0x6, …)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:1591 +0x249
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).handleUpdateIndexSnapMapForIndex(0xc42373b180, 0x199f2a0, 0xc42405e000)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:1632 +0x1d9
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).handleSupvervisorCommands(0xc42373b180, 0x199f2a0, 0xc42405e000)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:205 +0x19b
github.com/couchbase/indexing/secondary/indexer.(*storageMgr).run(0xc42373b180)
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:160 +0xbb
created by github.com/couchbase/indexing/secondary/indexer.NewStorageManager
goproj/src/github.com/couchbase/indexing/secondary/indexer/storage_manager.go:137 +0x27a