[SERVER-16524] Unable to do system.namespace collection counts with new storage enginers Created: 12/Dec/14 Updated: 12/Dec/14 Resolved: 12/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 2.8.0-rc2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Amor Kvalheim | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: | with mmap this returns the number of collections on wired tiger as expected it returns nothing. > db.system.namespaces.find() { "name" : "b.system.indexes" } { "name" : "b.t.$_id_" } { "name" : "b.t" }> db.system.namespaces.find( {name: "b.t"}) { "name" : "b.t” }> db.system.namespaces.count( {name: "b.t"}) |
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
One of the things we cannot do after changing to use listCollections is to return counts of the number of collections for a given filter which we currently support in mmap. > db.system.namespaces.find() { "name" : "b.system.indexes" } { "name" : "b.t.$_id_" } { "name" : "b.t" }> db.system.namespaces.find( {name: "b.t"}) { "name" : "b.t” }> db.system.namespaces.count( {name: "b.t"}) |