[SERVER-61560] simplify cursor initialization for unique key validation Created: 17/Nov/21 Updated: 27/Feb/23 Resolved: 27/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||
| Sprint: | Execution Team 2022-01-24, Execution Team 2022-02-07 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The validation code for verifying that a unique index contains no duplicates builds a KeyString to position the cursor at the beginning of the index. It would be nice to simplify this initial step of the index scan process. |
| Comments |
| Comment by Benety Goh [ 27/Feb/23 ] |
|
connie.chen@mongodb.com, this ticket was filed against a very old version of this code. I think the ticket is not very relevant now. |
| Comment by Benety Goh [ 27/Feb/23 ] |
|
The enhancement proposed in this ticket refers to code that has since been refactored in So it should be ok to close this ticket as Won't Do. |
| Comment by Benety Goh [ 17/Nov/21 ] |
|
Any improvements made to the validation logic may also be applied to the index scanning logic for converting an index to unique introduced in |