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

Panic during create index on single node

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      Seeing following panic during single node sanity (last good build was 2315)

      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0xb0 pc=0xf46fe1]goroutine 1 [running]:
      github.com/couchbase/indexing/secondary/common.(*TsVbuuid).GetSnapType(...)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/common/timestamp.go:274
      github.com/couchbase/indexing/secondary/indexer.(*indexer).handleMergeInitStream(0xc000154700, 0x158e100, 0xc004ce7360)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:6047 +0xd41
      github.com/couchbase/indexing/secondary/indexer.(*indexer).handleMergeStream(0xc000154700, 0x158e100, 0xc004ce7360)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:5961 +0x287
      github.com/couchbase/indexing/secondary/indexer.(*indexer).handleWorkerMsgs(0xc000154700, 0x158e100, 0xc004ce7360)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:1312 +0xc35
      github.com/couchbase/indexing/secondary/indexer.(*indexer).run(0xc000154700)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:1072 +0x773
      github.com/couchbase/indexing/secondary/indexer.NewIndexer(0xc00022c750, 0x4, 0x13d3213, 0xf, 0xc000221e78)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:503 +0x25ed
      ... 

      Before panic, following create index:

      [2022-02-16 01:13:24,509] - [tuq:1466] INFO - RUN QUERY CREATE INDEX my_attr_index0 ON default(join_yr) USING GSI
      [2022-02-16 01:13:24,510] - [rest_client:4154] INFO - query params : statement=CREATE+INDEX+my_attr_index0+ON+default%28join_yr%29+USING+GSI&scan_consistency=REQUEST_PLUS
      [2022-02-16 01:35:04,604] - [rest_client:1078] ERROR - socket error while connecting to http://172.23.96.97:8093/query?statement=CREATE+INDEX+my_attr_index0+ON+default%28join_yr%29+USING+GSI&scan_consistency=REQUEST_PLUS error timed out 
      [2022-02-16 01:35:04,605] - [rest_client:1081] ERROR - Giving up due to timed out! Tried http://172.23.96.97:8093/query?statement=CREATE+INDEX+my_attr_index0+ON+default%28join_yr%29+USING+GSI&scan_consistency=REQUEST_PLUS connect 1 times.
       

      Additional logs: http://server.jenkins.couchbase.com/job/build_sanity_matrix/10123/DISTRO=centos7,TYPE=1node/

      Attachments

        For Gerrit Dashboard: MB-51018
        # Subject Branch Project Status CR V

        Activity

          People

            pavan.pb Pavan PB
            pierre.regazzoni Pierre Regazzoni
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty