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

Service N1QL crashed due to segmentation fault @ /couchbase/query/primitives/couchbase.(*Bucket).UpdateBucket2(0xc0044d4480, 0xc00958fd00)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • 7.2.0
    • 7.2.0
    • query
    • 7.2.0-5268

    Description

      Steps:

      1. Create a 2 KV and 1 index/query node cluster.
      2. Create a magma bucket(replicas=1) and collections(total collection count including default collections is 51)
      3. Create 500000000 items sequentially(After creation of few thousands of documents update bucket_history_retention_seconds=259200,bucket_history_retention_bytes=10000000000000)
      4. Update 500000000 created in above step
      5. Create 500000000 items sequentially
      6. Update 500000000 created in above step
      7. Create five indexes Wait for index building.
      8. Rebalance in KV with Loading of docs. (Rebalance completed successfully)
      9. Rebalance Out KV with Loading of docs.(Rebalance completed successfully)
      10. Rebalance In_Out KV with Loading of docs. (Rebalance completed successfully)
      11. Swap KV node with Loading of docs.
      12. Rebalance exited with reason {service_rebalance_failed,index, {agent_died,<34339.6088.0> (MB-56170)
      13. System was in idle state for more than 24 hours
      14. And observed Service 'n1ql' exited with status 2

      Note:
      Cluster is still in same state
      http://172.23.110.64:8091/ui/index.html#/servers/list?commonBucket=GleamBookUsers0&scenarioZoom=minute&scenario=6fitqfa3g (Will keep this in the same state until March 30 2023, 8:30 AM IST, Please let me know if it is required for more duration)

      Found on node 172.23.110.67

      ERROR:

      Service 'n1ql' exited with status 2. Restarting. Messages:
      2023-03-29T06:52:55.294-07:00 [WARN] Keyspace GleamBookUsers0 not configured on this server
      2023-03-29T06:52:55.295-07:00 [WARN] Keyspace GleamBookUsers0 not configured on this server
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x19 pc=0x1701041]
       
      goroutine 824368 [running]:
      github.com/couchbase/query/primitives/couchbase.(*Bucket).UpdateBucket2(0xc0044d4480, 0xc00958fd00)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/primitives/couchbase/streaming.go:338 +0x1061
      github.com/couchbase/query/primitives/couchbase.(*Bucket).RunBucketUpdater2.func1()
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/primitives/couchbase/streaming.go:206 +0x33
      created by github.com/couchbase/query/primitives/couchbase.(*Bucket).RunBucketUpdater2
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/primitives/couchbase/streaming.go:205 +0xf8
      

      QE-TEST:

      guides/gradlew --refresh-dependencies testrunner -P jython=/opt/jython/bin/jython -P 'args=-i /tmp/ankush_temp_job3.ini -p bucket_storage=magma,bucket_eviction_policy=fullEviction,rerun=False -t aGoodDoctor.Hospital.Murphy.ClusterOpsVolume,nodes_init=2,graceful=True,skip_cleanup=True,num_items=50000000,num_buckets=1,bucket_names=GleamBook,doc_size=1024,bucket_type=membase,eviction_policy=fullEviction,iterations=5,batch_size=1000,sdk_timeout=60,log_level=info,infra_log_level=error,rerun=False,skip_cleanup=True,key_size=18,randomize_doc_size=False,randomize_value=True,assert_crashes_on_load=True,num_collections=50,maxttl=10,num_indexes=5,pc=10,index_nodes=1,cbas_nodes=0,fts_nodes=0,ops_rate=200000,ramQuota=102400,doc_ops=create:update:delete:read,mutation_perc=100,rebl_ops_rate=30000,key_type=RandomKey -m rest'
      

      Attachments

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

        Activity

          People

            ankush.sharma Ankush Sharma
            ankush.sharma Ankush Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty