[SERVER-83918] Optimize BSONColumn DocDiff generation Created: 05/Dec/23 Updated: 31/Jan/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | 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 |
|
In the initial implementation we scan the before and after buckets for each data field to find the first differing byte in the BSONColumns. After the work is done to maintain the compression state in buckets, we can use BSONColumnBuilder::intermediate() with the anchor option to remove this scan for BSONColumn DocDiff generation. |