Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None

      Description

      THe top of stats hash has "max_count" and "min_count" but should really be "max_mem_size" and "max_min_size":
      [root@localhost ~]# /opt/couchbase/bin/cbstats localhost:11210 hash detail
      avg_count: 50625
      avg_max: 4
      avg_min: 0
      largest_max: 4
      largest_min: 0
      max_count: 100080
      min_count: 1249
      summary:histo_0,1: 16635
      summary:histo_1,2: 6285
      summary:histo_2,3: 1450
      summary:histo_3,4: 233
      summary:histo_4,6: 29
      total_counts: 810000
      vb_0:counted: 1250
      vb_0:histo_0,1: 2090
      vb_0:histo_1,2: 765
      vb_0:histo_2,3: 190
      vb_0:histo_3,4: 31
      vb_0:histo_4,6: 3
      vb_0:locks: 5
      vb_0:max_depth: 4
      vb_0:mem_size: 100000
      vb_0:mem_size_counted: 100000
      vb_0:min_depth: 0
      vb_0:reported: 1250
      vb_0:resized: 0
      vb_0:size: 3079
      vb_0:state: active
      vb_1:counted: 1250
      vb_1:histo_0,1: 2080
      vb_1:histo_1,2: 782
      vb_1:histo_2,3: 187
      vb_1:histo_3,4: 26
      vb_1:histo_4,6: 4
      vb_1:locks: 5
      vb_1:max_depth: 4
      vb_1:mem_size: 100000
      vb_1:mem_size_counted: 100000
      vb_1:min_depth: 0
      vb_1:reported: 1250
      vb_1:resized: 0
      vb_1:size: 3079
      vb_1:state: active
      vb_2:counted: 1251
      vb_2:histo_0,1: 2050
      vb_2:histo_1,2: 834
      vb_2:histo_2,3: 170
      vb_2:histo_3,4: 23
      vb_2:histo_4,6: 2
      vb_2:locks: 5
      vb_2:max_depth: 4
      vb_2:mem_size: 100080
      vb_2:mem_size_counted: 100080
      vb_2:min_depth: 0
      vb_2:reported: 1251
      vb_2:resized: 0
      vb_2:size: 3079
      vb_2:state: active
      vb_3:counted: 1249
      vb_3:histo_0,1: 2085
      vb_3:histo_1,2: 781
      vb_3:histo_2,3: 175
      vb_3:histo_3,4: 34
      vb_3:histo_4,6: 4
      vb_3:locks: 5
      vb_3:max_depth: 4
      vb_3:mem_size: 99920
      vb_3:mem_size_counted: 99920
      vb_3:min_depth: 0
      vb_3:reported: 1249
      vb_3:resized: 0
      vb_3:size: 3079
      vb_3:state: active
      vb_4:counted: 1249
      vb_4:histo_0,1: 2076
      vb_4:histo_1,2: 790
      vb_4:histo_2,3: 183
      vb_4:histo_3,4: 27
      vb_4:histo_4,6: 3
      vb_4:locks: 5
      vb_4:max_depth: 4
      vb_4:mem_size: 99920
      vb_4:mem_size_counted: 99920
      vb_4:min_depth: 0
      vb_4:reported: 1249
      vb_4:resized: 0
      vb_4:size: 3079
      vb_4:state: active
      vb_5:counted: 1251
      vb_5:histo_0,1: 2098
      vb_5:histo_1,2: 753
      vb_5:histo_2,3: 191
      vb_5:histo_3,4: 32
      vb_5:histo_4,6: 5
      vb_5:locks: 5
      vb_5:max_depth: 4
      vb_5:mem_size: 100080
      vb_5:mem_size_counted: 100080
      vb_5:min_depth: 0
      vb_5:reported: 1251
      vb_5:resized: 0
      vb_5:size: 3079
      vb_5:state: active
      vb_6:counted: 1250
      vb_6:histo_0,1: 2084
      vb_6:histo_1,2: 781
      vb_6:histo_2,3: 176
      vb_6:histo_3,4: 35
      vb_6:histo_4,6: 3
      vb_6:locks: 5
      vb_6:max_depth: 4
      vb_6:mem_size: 100000
      vb_6:mem_size_counted: 100000
      vb_6:min_depth: 0
      vb_6:reported: 1250
      vb_6:resized: 0
      vb_6:size: 3079
      vb_6:state: active
      vb_7:counted: 1250
      vb_7:histo_0,1: 2072
      vb_7:histo_1,2: 799
      vb_7:histo_2,3: 178
      vb_7:histo_3,4: 25
      vb_7:histo_4,6: 5
      vb_7:locks: 5
      vb_7:max_depth: 4
      vb_7:mem_size: 100000
      vb_7:mem_size_counted: 100000
      vb_7:min_depth: 0
      vb_7:reported: 1250
      vb_7:resized: 0
      vb_7:size: 3079
      vb_7:state: active

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

        Activity

        Hide
        maria Maria McDuff (Inactive) added a comment -

        pls verify/close.

        Show
        maria Maria McDuff (Inactive) added a comment - pls verify/close.
        Hide
        iryna iryna added a comment -

        which build should i verify? 2.0.2-772 still have min_count/max_count

        Show
        iryna iryna added a comment - which build should i verify? 2.0.2-772 still have min_count/max_count
        Hide
        maria Maria McDuff (Inactive) added a comment -

        hi mike, have you merged the fix for this?

        Show
        maria Maria McDuff (Inactive) added a comment - hi mike, have you merged the fix for this?
        Hide
        mikew Mike Wiederhold added a comment -

        This is merged.

        Show
        mikew Mike Wiederhold added a comment - This is merged.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        pls verify / close.

        Show
        maria Maria McDuff (Inactive) added a comment - pls verify / close.
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ep-engine-2-0 #485 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/485/)
        MB-8115: Don't count mem_size_counted in max_counted hash stat (Revision 46b9668f8b4292c7168bf76a49506fe06bbadfe2)

        Result = SUCCESS
        Mike Wiederhold :
        Files :

        • management/cbstats
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ep-engine-2-0 #485 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/485/ ) MB-8115 : Don't count mem_size_counted in max_counted hash stat (Revision 46b9668f8b4292c7168bf76a49506fe06bbadfe2) Result = SUCCESS Mike Wiederhold : Files : management/cbstats
        Hide
        iryna iryna added a comment -

        build 2.0.2-779-rel, stats are still max_count and min_count
        avg_count: 0
        avg_max: 0
        avg_min: 0
        largest_max: 0
        largest_min: 0
        max_count: 0
        min_count: 0
        total_counts: 0
        vb_168:counted: 0
        vb_168:locks: 5
        vb_168:max_depth: 0
        vb_168:mem_size: 0
        vb_168:mem_size_counted: 0
        vb_168:min_depth: 0
        vb_168:reported: 0
        vb_168:resized: 0
        vb_168:size: 3079
        vb_168:state: replica
        vb_169:counted: 0
        vb_169:locks: 5
        vb_169:max_depth: 0
        vb_169:mem_size: 0
        vb_169:mem_size_counted: 0
        vb_169:min_depth: 0
        vb_169:reported: 0
        vb_169:resized: 0
        vb_169:size: 3079
        vb_169:state: replica
        vb_170:counted: 0
        vb_170:locks: 5
        ...

        Show
        iryna iryna added a comment - build 2.0.2-779-rel, stats are still max_count and min_count avg_count: 0 avg_max: 0 avg_min: 0 largest_max: 0 largest_min: 0 max_count: 0 min_count: 0 total_counts: 0 vb_168:counted: 0 vb_168:locks: 5 vb_168:max_depth: 0 vb_168:mem_size: 0 vb_168:mem_size_counted: 0 vb_168:min_depth: 0 vb_168:reported: 0 vb_168:resized: 0 vb_168:size: 3079 vb_168:state: replica vb_169:counted: 0 vb_169:locks: 5 vb_169:max_depth: 0 vb_169:mem_size: 0 vb_169:mem_size_counted: 0 vb_169:min_depth: 0 vb_169:reported: 0 vb_169:resized: 0 vb_169:size: 3079 vb_169:state: replica vb_170:counted: 0 vb_170:locks: 5 ...
        Hide
        mikew Mike Wiederhold added a comment -

        Iryna,

        The description on this issue is not that great. The problem wasn't the names of min_counted and max_counted. The problem was that mem_size_counted was being factored into the max_counted stat when only the counted stats should have been aggregated. Please see the commit for this change if you are not sure what I mean.

        http://review.couchbase.org/#/c/25825/

        Show
        mikew Mike Wiederhold added a comment - Iryna, The description on this issue is not that great. The problem wasn't the names of min_counted and max_counted. The problem was that mem_size_counted was being factored into the max_counted stat when only the counted stats should have been aggregated. Please see the commit for this change if you are not sure what I mean. http://review.couchbase.org/#/c/25825/
        Hide
        iryna iryna added a comment -

        build 2.0.2-779-rel verified

        Show
        iryna iryna added a comment - build 2.0.2-779-rel verified

          People

          • Assignee:
            iryna iryna
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes