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

[system test] Create index gsi:panic: runtime error: invalid memory address or nil pointer dereference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.0.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • None
    • 400-1757
      centos
      10 buckets, 10 primary indexes
      Bucket Default -12 M items, Bucket ITEM - 12 M items,
      rest of the buckets with fewer < 500K items
    • Untriaged
    • Unknown

    Description

      1. Load the Buckets with the above data.
      2. Wait for Primary index builds to be complete. Note: No active load now on the system.
      3. Create index city on default(city) using gsi
      cbq> select * from system:indexes where state="pending";
      {
      "requestID": "c3bde8ce-6e78-44b2-b186-907e30004519",
      "signature":

      { "*": "*" }

      ,
      "results": [
      {
      "indexes":

      { "datastore_id": "http://127.0.0.1:8091", "id": "7b70783f93346a3a", "index_key": [ "`city`" ], "keyspace_id": "default", "name": "city", "namespace_id": "default", "state": "pending", "using": "gsi" }

      }
      ],
      "status": "success",
      "metrics":

      { "elapsedTime": "4.760238562s", "executionTime": "4.760086915s", "resultCount": 1, "resultSize": 412 }

      }

      The above index creation appears to be in Pending state for over 10 minutes.

      Also the logs show a number of panics in the projector.
      2015-04-08T08:28:28.026Z-07:00 [Info] VBRT<-0<-default<-127.0.0.1:8091 #MAINT_STREAM_TOPIC_4e:8a:b4:ff:77:5b:d:2d ##2 StreamEnd
      panic: runtime error: invalid memory address or nil pointer dereference [recovered]
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal 0xb code=0x1 addr=0x40 pc=0x4ab640]

      Attaching detailed stack and logs.

      Attachments

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

        Activity

          People

            ketaki Ketaki Gangal (Inactive)
            ketaki Ketaki Gangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty