[SERVER-83725] Cleanup setMyLast(Durable|Applied)OpTimeAndWallTime in ReplicationCoordinator Created: 29/Nov/23 Updated: 25/Jan/24 Resolved: 12/Dec/23 |
|
| 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: | Jiawei Yang | Assignee: | Jiawei Yang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-3489-Milestone-LastWrittenOpTime-CP | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2023-12-11, Repl 2023-12-25 | ||||||||
| Participants: | |||||||||
| Description |
|
Currently, for updating lastDurable and lastApplied timestamp in ReplicationCoordinator, we have four functions:
We can cleanup the interfaces to only keep one function for updating lastApplied and lastDurable respectively. |
| Comments |
| Comment by Githook User [ 12/Dec/23 ] |
|
Author: {'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}Message: GitOrigin-RevId: 3247854d1a767f72a97f21293008f984254d3b0d |
| Comment by Wenbin Zhu [ 01/Dec/23 ] |
I think this comment is true due to this invariant. |