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

cbworkloadgen should return an error if collection does not exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • Cheshire-Cat
    • tools
    • Centos 8 64-bit
    • Triaged
    • Centos 64-bit
    • 1
    • Yes

    Description

      Install Couchbase server 7.0.0-4095 on a centos 8 in AWS.

      Initial node with hostname and services kv,index,n1ql,fts,eventing,bkservice.

      Create default bucket.

      Using cbworkloadgen to load data to default bucket.  cbworkloadgen failed to run

      error

      [root@ip-172-31-2-41 centos]# /opt/couchbase/bin/cbworkloadgen -n localhost:8091 -u Administrator -p password -j -i 1000
      2020-12-22 07:09:40,947: s0 error: async operation: error: MCSink MC error: 136 on sink: http://localhost:8091(default@N/A-0)
      error: MCSink MC error: 136
      

      Debug output

      [root@ip-172-31-2-41 centos]# /opt/couchbase/bin/cbworkloadgen -n localhost:8091 -u Administrator -p password -j -i 1000 -v
      2020-12-22 07:10:08,329: mt cbworkloadgen...
      2020-12-22 07:10:08,329: mt  source : gen:ratio-sets=0.95,exit-after-creates=1,max-items=1000,min-value-size=10,prefix=pymc,json=1,low-compression=False,xattr=False
      2020-12-22 07:10:08,329: mt  sink   : http://localhost:8091
      2020-12-22 07:10:08,329: mt  opts   : {'bucket_source': None, 'bucket_destination': 'default', 'id': None, 'key': None, 'vbucket_list': None, 'dry_run': False, 'username': '<xxx>', 'password': '<xxx>', 'username_dest': None, 'password_dest': None, 'ssl': False, 'no_ssl_verify': True, 'cacert': None, 'threads': 1, 'verbose': 1, 'silent': False, 'extra': {'batch_max_size': 1000.0, 'batch_max_bytes': 400000.0, 'cbb_max_mb': 100000.0, 'max_retry': 10.0, 'report': 5.0, 'report_full': 2000.0, 'recv_min_bytes': 4096.0, 'try_xwm': 1.0, 'nmv_retry': 1.0, 'rehash': 0.0, 'data_only': 0.0, 'design_doc_only': 0.0, 'conflict_resolve': 1.0, 'seqno': 0.0, 'mcd_compatible': 1.0, 'uncompress': 0.0, 'backoff_cap': 0.1, 'flow_control': 1.0, 'dcp_consumer_queue_length': 1000.0, 'allow_recovery_vb_remap': 0.0}, 'collection': None, 'force_txn': True, 'single_node': False, 'source_vbucket_state': 'active', 'destination_vbucket_state': 'active', 'destination_operation': None}
      2020-12-22 07:10:08,341: mt bucket: default
      2020-12-22 07:10:08,393: s0 error: async operation: error: MCSink MC error: 136 on sink: http://localhost:8091(default@N/A-0)
      2020-12-22 07:10:08,393: w0   source : gen:ratio-sets=0.95,exit-after-creates=1,max-items=1000,min-value-size=10,prefix=pymc,json=1,low-compression=False,xattr=False(default@N/A-0)
      2020-12-22 07:10:08,393: w0   sink   : http://localhost:8091(default@N/A-0)
      2020-12-22 07:10:08,393: w0          :                total |       last |    per sec
      error: MCSink MC error: 136
      

      Attachments

        Issue Links

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

          Activity

            People

              thuan Thuan Nguyen
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty