[MB-4718] cbstats timings fails Created: 30/Jan/12  Updated: 23/Jul/12  Resolved: 01/Mar/12

Status: Closed
Project: Couchbase Server
Component/s: tools
Affects Version/s: 2.0-developer-preview-3
Fix Version/s: 2.0-developer-preview-4
Security Level: Public

Type: Bug Priority: Critical
Reporter: Keith Batten (Inactive) Assignee: Steve Yen
Resolution: Fixed Votes: 0
Labels: 2.0-dev-preview-4-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: 2.0.0r-552


 Description   
/opt/couchbase/bin/cbstats localhost:11210 timings

Traceback (most recent call last):
  File "/opt/couchbase/lib/python/cbstats", line 356, in <module>
    main()
  File "/opt/couchbase/lib/python/cbstats", line 353, in main
    c.execute()
  File "/opt/couchbase/lib/python/clitool.py", line 43, in execute
    f[0](mc, *args[2:], **opts.__dict__)
  File "/opt/couchbase/lib/python/cbstats", line 38, in g
    f(*args[:n])
  File "/opt/couchbase/lib/python/cbstats", line 177, in stats_timings
    histograms(mc, mc.stats('timings'))
  File "/opt/couchbase/lib/python/cbstats", line 29, in g
    if kwargs['allBuckets']:
KeyError: 'allBuckets'


 Comments   
Comment by Steve Yen [ 30/Jan/12 ]
http://review.couchbase.org/12795
Comment by Thuan Nguyen [ 30/Jan/12 ]
Integrated in github-ep-engine-2-0 #170 (See [http://qa.hq.northscale.net/job/github-ep-engine-2-0/170/])
    MB-4718 - Handle missing allBuckets key in cmdline params.

Steve Yen :
Files :
* management/cbstats
Comment by Keith Batten (Inactive) [ 30/Jan/12 ]
verified fixed
Generated at Tue Jul 29 17:30:11 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.