-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Fully Compatible
-
Repl 2023-12-11, Repl 2023-12-25
Currently, for updating lastDurable and lastApplied timestamp in ReplicationCoordinator, we have four functions:
- setMyLastAppliedOpTimeAndWallTimeForward -> Used by OplogApplier
- setMyLastDurableOpTimeAndWallTimeForward -> Used by ReplicationCoordinatorExternalState::onDurable
- setMyLastAppliedOpTimeAndWallTime -> Not used at all
- setMyLastDurableOpTimeAndWallTime -> We can use setMyLastDurableOpTimeAndWallTimeForward instead if this comment is true.
We can cleanup the interfaces to only keep one function for updating lastApplied and lastDurable respectively.
- is depended on by
-
SERVER-85599 [Milestone] LastWritten OpTime Checkpoint
- Closed