-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.0, 2.2.0
-
Component/s: None
-
None
-
ALL
-
(copied to CRM)
I get a count of 4 and a result of 2 documents when I do the following on a sharded collection
mongos> db.agg_collection.find(
{"_id.summary_id": "c48b9bb63", "_id.placement_id": "1"}).count()
4
mongos> db.agg_collection.find(
).pretty()
{
"_id" :
,
"value" : 'hidden for patent reasons'
}
{
"_id" :
,
"value" : 'hidden for patent reasons'
}
- duplicates
-
SERVER-3645 Sharded collection counts (on primary) can report too many results
- Closed
-
SERVER-8405 sharded count may incorrectly count migrating or orphaned documents (does not filter using chunk manager)
- Closed