summaryrefslogtreecommitdiff
path: root/jstests/sharding/key_many.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-07-22 10:04:17 -0400
committerEliot Horowitz <eliot@10gen.com>2010-07-22 10:04:17 -0400
commit364bad304eacae81874fbd607b0ec3036f9b4118 (patch)
treeb98642ad82f9f3c85b6d8250e8861ce92389c637 /jstests/sharding/key_many.js
parentdf2a72efff66cda640403924d6126e7da0ca852b (diff)
downloadmongo-364bad304eacae81874fbd607b0ec3036f9b4118.tar.gz
make indexe differences warning in stats
Diffstat (limited to 'jstests/sharding/key_many.js')
-rw-r--r--jstests/sharding/key_many.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/sharding/key_many.js b/jstests/sharding/key_many.js
index 21f37b7f490..1e0ba9d9928 100644
--- a/jstests/sharding/key_many.js
+++ b/jstests/sharding/key_many.js
@@ -115,6 +115,7 @@ for ( var i=0; i<types.length; i++ ){
assert.eq( 4 , c.find({$nor:[makeObjectDotted(curT.values[2]), makeObjectDotted(curT.values[4])]}).itcount() , curT.name + " $nor itcount()" );
var stats = c.stats();
+ printjson( stats )
assert.eq( 6 , stats.count , curT.name + " total count with stats()" );
var count = 0;
for (shard in stats.shards) count += stats.shards[shard].count;