[SERVER-64928] Disallow createIndexes with clustered:false Created: 25/Mar/22 Updated: 29/Oct/23 Resolved: 05/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Yujin Kang Park |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2022-04-04, Execution Team 2022-04-18 | ||||||||
| Participants: | |||||||||
| Description |
|
Specifying 'clustered': false blocks an index from being created but returns IndexAlreadyExists
|
| Comments |
| Comment by Githook User [ 05/Apr/22 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: |
| Comment by Louis Williams [ 25/Mar/22 ] |
|
Yeah, I think so. It doesn't really serve a purpose. |
| Comment by Haley Connelly [ 25/Mar/22 ] |
|
Because it isn't trying to do anything illegal. Should we change this ticket to disallow 'clustered': false?
|
| Comment by Louis Williams [ 25/Mar/22 ] |
|
I think we should just return an error, why do we want this to create the index? |