Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Replication
-
Repl 2024-02-05, Repl 2024-02-19
Description
Whenever we update the lastDurable timestamp, we do two things:
1) Update `lastCommitted` and `commit point` if WriteConcernMajorityShouldJournal == true, which would eventually call `_wakeReadyWaiters()` if the committed point is advanced.
2) Right after the above step, call `_wakeReadyWaiters` again.
This seems to be duplicate work as they are called under the same mutex, we could consider skip calling `_wakeReadyWaiters` in step 1) and only walk through all the waiters in step 2).
Note this is based on code inspection, we should double check this before doing the changes.
Attachments
Issue Links
- is depended on by
-
SERVER-85600 [Milestone] Misc Improvement Checkpoint
-
- In Progress
-