-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 1.7.3
-
Component/s: None
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
s = ""
function z()
for ( i=0; i<10000; i++ ){ db.foo2.insert(
{ s : s , a : z() , b : z()}); }
shard on a,b and make a couple of split points
db.bar.find( { $min:
{ a: 0, b: 0}, $max:
{ a:1000, b:1000}, $query: {} } ).itcount()
gives the correct count, but
db.bar.find( { $min:
{ a: 0, b: 0}, $max:
{ a:1000, b:1000}, $query: {} } ).count()
doesn't