Apologies for the delay. You can collect the logs by enabling log redaction that will filter out all sensitive information. Please refer to Manage Logging | Couchbase Docs for more information.
While the scope G7aa0vxt also got deleted meanwhile. These indexes probably got created in parallel and got duplicated.
In this case, the indexing service stops working and the cluster requires a restart since all queries start to fail. (After restarting the cluster, the indexes with the non-existent scope are gone.)
Apologies for the long delay. The index build has been stuck due to MB-43117 - which has been fixed after the beta release. The workaround in this case is to restart indexer.
@zoltan.zvara, We will soon be having a beta-refresh which will have this issue fixed. Now, I don’t know the exact dates as when this release can happen. Will let you know once I have any official update on this.
Thanks @varun.velamuri, we are waiting for it eagerly. None of our tests go through recently as our Beta 7.0.0 development 4-node server periodically crashes the indexer service at some point.
Service 'indexer' exited with status 134. Restarting. Messages:
2021-01-26T23:04:03.266+00:00 [Info] ForestDBSlice::Commit SliceId 0 IndexInstId 7732669426224168914 FlushTime 2.498µs CommitTime 439.235µs TotalFlushTime 160.121257ms TotalCommitTime 855.418814ms
2021-01-26T23:04:03.267+00:00 [Info] ForestDBSlice::OpenSnapshot SliceId 0 IndexInstId 7732669426224168914 Creating New Snapshot SnapshotInfo: seqnos: 165468, 165468, 37952 committed:true
2021-01-26T23:04:03.267+00:00 [Info] StorageMgr::handleCreateSnapshot Added New Snapshot Index: 7732669426224168914 PartitionId: 0 SliceId: 0 Crc64: 1258414697894122896 (SnapshotInfo: seqnos: 165468, 165468, 37952 committed:true) SnapCreateDur 88.879701ms SnapOpenDur 61.189µs
2021-01-26T23:04:03.385+00:00 [Info] ServiceMgr::rebalanceJanitor Running Periodic Cleanup
assertion failed [hbmeta.prefix != NULL] at /home/couchbase/jenkins/workspace/couchbase-server-unix/forestdb/src/hbtrie.cc:1267 ((nil) != 0x7f7748c1dbd0)
Breakpad caught a crash in forestdb. Writing crash dump to /opt/couchbase/var/lib/couchbase/crash/55d37586-49cc-42f7-63fbbbac-c4a9e907.dmp before terminating.
There are more logs and definitely more details to this, but I want to know if it worth reporting in detail, or should we wait for the new build to get released?
Looks like there is a corruption. A prefix is expected at this level and it is NULL. We have not seen this issue in our testing. If there is a repro, can you please share and we can try to debug it. You can try forestdb_dump utility to see if the on disk image of the file is corrupted.
We have already fixed the build stuck issue. Reg. the crash, we have not observed it in our internal testing. If you are seeing the same crash at your end and if you have a repro, can you please share the steps to reproduce the issue so that we can try to debug it.
Also, like @sduvuru mentioned, you can try the forestdb_dump utility to check if the on-disk image file is corrupted.