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

Default collection's stats are missing from cbstats

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 7.2.0
    • couchbase-bucket
    • Enterprise Edition 7.2.0 build 5067
    • Untriaged
    • Centos 64-bit
    • 0
    • Yes

    Description

      Build: 7.2.0-5067

      Scenario:

      • Create couchbase + couchstore bucket
      • Create a new collection "c1" under "_default" scope
      • Run cbstats scopes / scope-details / collections / collection-details

      From all these stats, details about default collection is missing.

      Below are the stats from older released version 7.1.0 build 2556,

       

      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 scopes
       0x0:0x0:name:             _default
       0x0:0x8:name:             c1
       0x0:collections:          2
       0x0:collections_mem_used: 0
       0x0:data_size:            89088
       0x0:items:                0
       0x0:name:                 _default
       0x0:ops_delete:           0
       0x0:ops_get:              0
       0x0:ops_store:            0
       manifest_uid:             1
       
      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 scopes-details 1
       vb_1:0x0:0x0:items:                     0
       vb_1:0x0:0x8:items:                     0
       vb_1:0x0:data_size:                     87
       vb_1:0x0:name::                         _default
       vb_1:manifest:uid:                      1
       vb_1:manifest:uidvb_1:scope_data_limit: false
       vb_1:scopes:                            1
       
      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 collections
       0x0:0x0:collections_mem_used: 0
       0x0:0x0:data_size:            0
       0x0:0x0:items:                0
       0x0:0x0:name:                 _default
       0x0:0x0:ops_delete:           0
       0x0:0x0:ops_get:              0
       0x0:0x0:ops_store:            0
       0x0:0x0:scope_name:           _default
       0x0:0x8:collections_mem_used: 0
       0x0:0x8:data_size:            89088
       0x0:0x8:items:                0
       0x0:0x8:name:                 c1
       0x0:0x8:ops_delete:           0
       0x0:0x8:ops_get:              0
       0x0:0x8:ops_store:            0
       0x0:0x8:scope_name:           _default
       manifest_uid:                 1
       
      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 collections-details 1
       vb_1:0x0:disk_size:            0
       vb_1:0x0:high_seqno:           0
       vb_1:0x0:items:                0
       vb_1:0x0:name:                 _default
       vb_1:0x0:ops_delete:           0
       vb_1:0x0:ops_get:              0
       vb_1:0x0:ops_store:            0
       vb_1:0x0:persisted_high_seqno: 0
       vb_1:0x0:scope:                0x0
       vb_1:0x0:start_seqno:          0
       vb_1:0x8:disk_size:            87
       vb_1:0x8:high_seqno:           1
       vb_1:0x8:items:                0
       vb_1:0x8:name:                 c1
       vb_1:0x8:ops_delete:           0
       vb_1:0x8:ops_get:              0
       vb_1:0x8:ops_store:            0
       vb_1:0x8:persisted_high_seqno: 1
       vb_1:0x8:scope:                0x0
       vb_1:0x8:start_seqno:          1
       vb_1:collections:              2
       vb_1:manifest:uid:             1

       

      In 7.2.0-5067

      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 scopes
       0x0:0x8:name:             c1
       0x0:collections:          1
       0x0:collections_mem_used: 0
       0x0:data_size:            89088
       0x0:items:                0
       0x0:name:                 _default
       0x0:ops_delete:           0
       0x0:ops_get:              0
       0x0:ops_store:            0
       manifest_uid:             2
       
      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 scopes-details 1
       vb_1:0x0:0x8:items:                     0
       vb_1:0x0:data_size:                     87
       vb_1:0x0:name::                         _default
       vb_1:manifest:uid:                      2
       vb_1:manifest:uidvb_1:scope_data_limit: false
       vb_1:scopes:                            1
       
      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 collections
       0x0:0x8:collections_mem_used: 0
       0x0:0x8:data_size:            89088
       0x0:0x8:history:              false
       0x0:0x8:items:                0
       0x0:0x8:name:                 c1
       0x0:0x8:ops_delete:           0
       0x0:0x8:ops_get:              0
       0x0:0x8:ops_store:            0
       0x0:0x8:scope_name:           _default
       manifest_uid:                 2
       
      # /opt/couchbase/bin/cbstats -u Administrator -p password localhost:11210 -b bucket-0 collections-details 1
       vb_1:0x8:disk_size:            87
       vb_1:0x8:high_seqno:           2
       vb_1:0x8:history:              false
       vb_1:0x8:items:                0
       vb_1:0x8:name:                 c1
       vb_1:0x8:ops_delete:           0
       vb_1:0x8:ops_get:              0
       vb_1:0x8:ops_store:            0
       vb_1:0x8:persisted_high_seqno: 2
       vb_1:0x8:scope:                0x0
       vb_1:0x8:start_seqno:          2
       vb_1:collections:              1
       vb_1:manifest:uid:             2

       

       

      Attachments

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

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            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