[SERVER-40880] _id index is not displayed as unique Created: 29/Apr/19 Updated: 29/Apr/19 Resolved: 29/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.0.9 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | Björn Kautler | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
The automatically generated index on _id is a uniqe index as far as I have read and tried. |
| Comments |
| Comment by Danny Hatcher (Inactive) [ 29/Apr/19 ] |
|
Hello Bjorn, You are correct; the auto-generated index on _id is a unique index. The fact that the index output does not mention that fact is being tracked in SERVER-5335 so I will close this ticket as a duplicate of that one. But please rest assured that this is solely an issue with the output of getIndexes and the index is actually unique. Thanks, Danny |