[CDRIVER-1190] filename index created on wrong collection Created: 01/Apr/16 Updated: 10/Aug/16 Resolved: 18/Apr/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | GridFS |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
db.fs.files is supposed to have an index ensured on "filename". Instead, the index is created on db.fs.chunks, where it isn't useful. The GridFS spec says:
|
| Comments |
| Comment by Githook User [ 19/Apr/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Now that indexes are properly ensured, two tests require adaptation. |
| Comment by Githook User [ 18/Apr/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |