[SERVER-17599] dropDups ignored on index creation Created: 16/Mar/15 Updated: 17/Mar/15 Resolved: 16/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Neil Lunn | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Major Change | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Steps To Reproduce: | Create duplicate data:
Try to create the index:
Index build fails with message:
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
The dropDups option is being ignored and indexing fails when a key with a unique constraint contains duplicates |
| Comments |
| Comment by Stennie Steneker (Inactive) [ 16/Mar/15 ] |
|
neillunn See linked issue: This is already present in the 3.0 release notes per my previous comment: http://docs.mongodb.org/manual/release-notes/3.0-compatibility/#remove-dropdups-option Thanks, |
| Comment by Neil Lunn [ 16/Mar/15 ] |
|
Noted as a closed task. https://jira.mongodb.org/browse/SERVER-14710 But clearly still present in documentation and not present in release notes. |
| Comment by Stennie Steneker (Inactive) [ 16/Mar/15 ] |
|
Hi Neil, The dropDups option was removed in MongoDB 3.0: See also: Regards, |
| Comment by Neil Lunn [ 16/Mar/15 ] |
|
Originally sourced from here: http://stackoverflow.com/q/29072209/2313887 |