[SERVER-57162] Generate DamageVector and final BSONObj from docDiff in single pass Created: 24/May/21 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | WT_MODIFY | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||
| Sprint: | Execution Team 2021-05-31 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Unify the generateDamages and applyDiff APIs to produce both a DamageVector and post BSONObj. It also need to calculate if indexes need to be updated. This is going to be needed to do updateWithDamages when indexes need to be updated or a validator is set. |