[SERVER-50098] Allow writing directly to indexes without requiring non-const access to IndexCatalogEntries Created: 04/Aug/20 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Shin Yee Tan | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
IndexCatalog currently only provides const access to IndexCatalogEntries. With the new repair mode in validate, non-const access is necessary to insert and remove index keys. The temporary solution is we are const_cast-ing but a better solution is if had non-const access to IndexCatalogEntries. |
| Comments |
| Comment by Louis Williams [ 06/Aug/20 ] |
|
Proposed new ticket title: Allow writing directly to indexes without requiring non-const access to IndexCatalogEntries |