[SERVER-917] unique index on sharded collection can be allowed sometimes Created: 02/Apr/10 Updated: 12/Jul/16 Resolved: 15/Apr/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.1 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Dwight Merriman | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
if sharded on a, a unique index on { a, b }is ok - but we don't allow it currently |
| Comments |
| Comment by auto [ 15/Apr/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: sharding: allow unique indexes if key is more specific than shard key |