[SERVER-83314] Fail collMod command converting index uniqueness when using wiredtiger in-memory engine Created: 15/Nov/23 Updated: 05/Dec/23 |
|
| Status: | Blocked |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Yuhong Zhang | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
When converting an index to unique/non-unique, we need to call alter on wiredtiger to change the index table's metadata. This is a no-op in the in-memory engine right now so the collMod command will not work correctly. We should fail the command early for in-memory storage engine. As part of the ticket, we should also investigate the implication in replication when there are a mix of nodes running on-disk and in-memory storage engine. |