[SERVER-708] Lookup with indexes returns wrong data. Created: 06/Mar/10 Updated: 12/Jul/16 Resolved: 06/Mar/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Stavros Korokithakis | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 9.10 32-bit, using the latest package available in the repo. |
||
| Participants: |
| Description |
|
I created an index on cluster, cluster_depth, visited (ascending on all), and querying I get this: In [60]: people.find_one({"cluster": cluster, "cluster_depth": 0, "visited": {"$exists": True}}) Visited does not exist, it is wrong. Removing the index gives me the correct reply. |
| Comments |
| Comment by auto [ 06/Mar/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: fix exists with index |