[SERVER-16916] RecordId might be inserted more than once with unique index and dupsAllowed == true Created: 17/Jan/15 Updated: 23/Jan/15 Resolved: 20/Jan/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Igor Canadi | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
If there are two RecordIds (locInIndex) that are higher than RecordId we're inserting (loc), then the loc will be inserted more than once to the value. I believe this line should be if (!insertedLoc && loc < locInIndex) |
| Comments |
| Comment by Githook User [ 20/Jan/15 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |