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

[cbindexperf] Support for integer values in RandomScanRange

    XMLWordPrintable

Details

    • 1

    Description

      Seeing panic if high and low are integer and we want to random scans 

      12:43:23 2022-03-14T00:13:23 [INFO] To be applied: ./opt/couchbase/bin/cbindexperf -cluster 172.23.110.72:8091 -auth="Administrator:password" -configfile tests/gsi/scan_config/config_scan_1s_1c_1idx_partition.json -resultfile result.json -statsfile /root/statsfile -gcpercent 200 -cpuprofile cpuprofile.prof -memprofile memprofile.prof 
      12:43:23 Log Level = error
      12:43:23 Setting gc percentage to 200
      12:43:29 GsiClients warmed up ...
      12:43:29 panic: interface conversion: interface {} is float64, not string
      12:43:29 
      12:43:29 goroutine 452 [running]:
      12:43:29 main.RandomScanRange.GetLow(...)
      12:43:29 	goproj/src/github.com/couchbase/indexing/secondary/cmd/cbindexperf/test_executor.go:42
      12:43:29 main.RunJob(0xc0009ae580, 0xc0019c4320, 0xc0016dc060, 0xfa6fa0, 0xc0019b82c8)
      12:43:29 	goproj/src/github.com/couchbase/indexing/secondary/cmd/cbindexperf/executor.go:99 +0x4da
      12:43:29 main.Worker(0xc0016dc000, 0xc0009ae580, 0xc0016dc060, 0xc000179f40)
      12:43:29 	goproj/src/github.com/couchbase/indexing/secondary/cmd/cbindexperf/executor.go:135 +0x90
      12:43:29 created by main.RunCommands
      12:43:29 	goproj/src/github.com/couchbase/indexing/secondary/cmd/cbindexperf/executor.go:218 +0x530
      12:43:29 
      12:43:29 Fatal error: local() encountered an error (return code 2) while executing './opt/couchbase/bin/cbindexperf -cluster 172.23.110.72:8091 -auth="Administrator:password" -configfile tests/gsi/scan_config/config_scan_1s_1c_1idx_partition.json -resultfile result.json -statsfile /root/statsfile -gcpercent 200 -cpuprofile cpuprofile.prof -memprofile memprofile.prof ' 

      scan file 

      {
          "Clients": 5,
          "Concurrency": 128,
          "ScanSpecs": [
              {
                  "Bucket": "bucket-1",
                  "Collection": "collection-1",
                  "High": [
                      400
                  ],
                  "Id": 1,
                  "Inclusion": 3,
                  "Index": "index1-1",
                  "Limit": 1,
                  "Low": [
                      0
                  ],
                  "NInterval": 100,
                  "Repeat": 19999,
                  "Scope": "scope-1",
                  "Type": "Range",
                  "TestSpec": {
                      "RandomKeyLen": 3
                  }
              }
          ]
      } 

      Test job : http://perf.jenkins.couchbase.com/job/aether/1698/console 

      Attachments

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

        Activity

          People

            vedant.singh Vedant Singh
            vikas.chaudhary Vikas Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty