[SERVER-83256] Simplify WiredTigerRecordStore cursor and WiredTigerIndex cursor code Created: 14/Nov/23 Updated: 01/Feb/24 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Xuan Zhang | Assignee: | Wei Hu |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Sprint: | Execution Team 2024-02-19 |
| Participants: |
| Description |
|
The code for WiredTigerIndexCursor and WiredTigerRecordStore cursor is rather complicated and sometimes branches on configuration options which are known at time of construction. Considering this code is on the hot path (called once per document) we should make some effort to simplify this, and probably get a small perf win. |
| Comments |
| Comment by Louis Williams [ 15/Nov/23 ] |
|
I think at a minimum, we can probably make separate code paths for the oplog, and possibly for capped collections generally. |