MB-22695: Add stats for datatypes 74/74974/21
authorolivermd <oliver.downard@couchbase.com>
Mon, 6 Mar 2017 15:37:22 +0000 (15:37 +0000)
committerDave Rigby <daver@couchbase.com>
Wed, 5 Apr 2017 09:47:00 +0000 (09:47 +0000)
commite4606e8f50797e40d3a9f7931c1e45a070f82002
tree5debf8a0b64334a6c5192b47037c7d0a9fccc19f
parent1c7c44d03a31e51af2f1a7efe653a6ac6df24030
MB-22695: Add stats for datatypes

This commit adds counts for datatypes of documents whose Storedvalue is
resident in memory.

Adds the datatype stats to the 'all' engine stat call. This means that
they will be added to the ETS tables in ns_server.

Change-Id: I321f81d00e4fb63604aeec84df4933f6d368fdb7
Reviewed-on: http://review.couchbase.org/74974
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
src/hash_table.cc
src/hash_table.h
src/kv_bucket.cc
src/vb_count_visitor.cc
src/vb_count_visitor.h
tests/ep_testsuite.cc
tests/module_tests/stats_test.cc