[SERVER-1904] map-reduce produces different results for an indexed query Created: 06/Oct/10 Updated: 12/Jul/16 Resolved: 09/Nov/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 1.6.2 |
| Fix Version/s: | 1.7.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ian Ragsdale | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 10.0.4 on EC2 |
||
| Backwards Compatibility: | Minor Change |
| Operating System: | ALL |
| Participants: |
| Description |
|
I've been investigating some unusual numbers in my map-reduce results ) // just aggregate by _id
function () { // count the values // the first M/R finds the document once & produces the correct count { , // the second query matches the array without an index, and still { , // now index on the array and run the exact same M/R - note that it ) { , This seems bad - is this expected behavior? |
| Comments |
| Comment by auto [ 09/Nov/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: test for |
| Comment by auto [ 09/Nov/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: check for dups on multikey indexes |