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

[FTS] Search index deletion fails with panic: runtime error: invalid memory address or nil pointer dereference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 7.6.0
    • 7.6.0
    • fts
    • Couchbase Enterprise Edition 7.6.0-1916

    Description

      1. Created a 3 node cluster with kv, n1ql and fts nodes
      2. Created a couchstore bucket and loaded a few docs
      3. Created a search index using UI
      4. Deleted the index

      The index deletion fails with Unexpected error

      Observing a panic in ns_server.fts.log

      panic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xba2ad8] goroutine 2189 [running]:github.com/couchbase/cbgt.(*GocbcoreDCPFeed).cacheUpdateCheck(0x40005ead00, 0x40006eaea0?) /home/couchbase/jenkins/workspace/couchbase-server-unix/cbgt/feed_dcp_gocbcore.go:1419 +0x88github.com/couchbase/cbgt.(*BucketScopeInfoTracker).getBucketInfo(0x40004a6d20, {0x40007002c0, 0x7}, 0x40098ed530) /home/couchbase/jenkins/workspace/couchbase-server-unix/cbgt/bucket_scope_tracker.go:275 +0x298github.com/couchbase/cbgt.isBucketAlive(0x4000103c00, {0x4000815940, 0x20}, {0x40007002c0, 0x7}, 0x0, 0x400050df38?) /home/couchbase/jenkins/workspace/couchbase-server-unix/cbgt/bucket_scope_tracker.go:130 +0x74github.com/couchbase/cbgt.(*GocbcoreDCPFeed).checkIfSourceExists.func1() /home/couchbase/jenkins/workspace/couchbase-server-unix/cbgt/feed_dcp_gocbcore.go:1336 +0xa4created by github.com/couchbase/cbgt.(*GocbcoreDCPFeed).checkIfSourceExists in goroutine 975 /home/couchbase/jenkins/workspace/couchbase-server-unix/cbgt/feed_dcp_gocbcore.go:1328 +0x16c 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              abhinav Abhi Dangeti
              raghav.sk Raghav S K
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty