Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-20588

Encountered FDB_RESULT_KEY_NOT_FOUND error in indexer logs after which indexer panic observed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 4.5.1
    • forestdb
    • Build 4.5.1-2817

      Cluster Configuration: 8 Node Cluster
      Node 1: kv, n1ql, index
      Node 2: kv, index
      Node 3 to 8: index

      Indexer storage Mode: Forestdb
    • Untriaged
    • Centos 64-bit
    • Yes
    • ForestDB: Oct 17 - Nov 4

    Description

      Steps:
      1. Cluster configured.
      2. 1000 items loaded in default bucket.
      3. Changed projector.dcp.numConnections to 16
      4. Tried creating indexes.

      Index creation passed but UI didn't show any index created.
      Following error was found in indexer.log:
      [Error] EmbeddedServer.boostrap: error : Server Config Error : Key = LastCommittedTxid : FDB_RESULT_KEY_NOT_FOUND

      After which There was a panic trace:
      panic: close of nil channel

      goroutine 1 [running]:
      panic(0xd1d5e0, 0xc822164340)
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:464 +0x3e6 fp=0xc822126ca8 sp=0xc822126c28
      runtime.closechan(0x0)
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/chan.go:294 +0x75 fp=0xc822126cf8 sp=0xc822126ca8
      github.com/couchbase/indexing/secondary/manager.(*IndexManager).Close(0xc82010f3f0)
      /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/manager/manager.go:271 +0x143 fp=0xc822126d20 sp=0xc822126cf8
      github.com/couchbase/indexing/secondary/manager.NewIndexManagerInternal(0x7f70dbf8ebf8, 0xc8221f2f00, 0x7f70dbf8ec98, 0xc8222456e0, 0xc82013a870, 0xc82010f3f0, 0x7f70dc015fe8, 0xc8220f4480)
      /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/manager/manager.go:185 +0xcec fp=0xc822127060 sp=0xc822126d20
      github.com/couchbase/indexing/secondary/manager.NewIndexManager(0x7f70dbf8ebf8, 0xc8221f2f00, 0xc82013a870, 0x7f70dbf8ebf8, 0x0, 0x0)
      /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/manager/manager.go:122 +0x222 fp=0xc822127138 sp=0xc822127060
      github.com/couchbase/indexing/secondary/indexer.NewClustMgrAgent(0xc82000ed80, 0xc82000e9c0, 0xc82013a870, 0x0, 0x0, 0x0, 0x0)
      /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/cluster_manager_agent.go:71 +0x7e1 fp=0xc8221272e8 sp=0xc822127138
      github.com/couchbase/indexing/secondary/indexer.NewIndexer(0xc8200183c0, 0x0, 0x0, 0x0, 0x0)
      /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:240 +0x20d1 fp=0xc822127c10 sp=0xc8221272e8
      main.main()
      /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/cmd/indexer/main.go:153 +0x15b5 fp=0xc822127f30 sp=0xc822127c10
      runtime.main()
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/proc.go:188 +0x2b0 fp=0xc822127f80 sp=0xc822127f30
      runtime.goexit()
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc822127f88 sp=0xc822127f80

      goroutine 17 [syscall, locked to thread]:
      runtime.goexit()
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82003efb8 sp=0xc82003efb0

      Logs: https://s3.amazonaws.com/bugdb/jira/mb-007/dcp_numConnections.tar

      Attachments

        Issue Links

          Activity

            People

              prasanna.gholap Prasanna Gholap [X] (Inactive)
              prasanna.gholap Prasanna Gholap [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty