[SERVER-82599] Parse Optime only once in ReplicationConsistencyMarkersImpl::refreshOplogTruncateAfterPointIfPrimary Created: 30/Oct/23 Updated: 24/Jan/24 Resolved: 03/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Scott Li |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | perf-8.0, perf-tiger, perf-tiger-handoff, perf-tiger-poc, perf-tiger-q4, repl-shortlist | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2023-11-27, Repl 2023-12-11, Repl 2023-12-25 |
| Participants: |
| Description |
|
ReplicationConsistencyMarkersImpl::refreshOplogTruncateAfterPointIfPrimary parses the Optime from an oplog entry twice. The code should be change parse it only once. Also, we should take advantage of IDL's ability to disable duplicate field checks. I have not measured the perf benefits of this change separately. |
| Comments |
| Comment by Githook User [ 03/Jan/24 ] |
|
Author: {'name': 'Scott Li', 'email': '146780710+scottli-sz@users.noreply.github.com', 'username': 'scottli-sz'}Message: GitOrigin-RevId: 8754f32bcb512b975dfaf4ea75b21e4c14ac7b9d |