[SERVER-12026] index bounds exclude Infinity for $or query Created: 10/Dec/13 Updated: 11/Jul/16 Resolved: 11/Dec/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.5.4 |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | David Storch | Assignee: | David Storch |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL | |||||||||||||
| Steps To Reproduce: |
|
|||||||||||||
| Participants: |
| Description |
|
Consider the query
with an index on field 'a'. The first branch of the $or has index bounds
However, the actual index bounds are
The bug is that the upper bound should be inclusive, but instead it is exclusive. |
| Comments |
| Comment by Githook User [ 11/Dec/13 ] |
|
Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |