Remove the small delay to update the oplogReadTimestamp when there are no callers (waitForAllEarlierOplogWritesToBeVisible) awaiting updates to the oplogReadTimestamp. This code is extra logic added in order not to overwhelm the system with too frequent I/O when the thread used to call waitUntilDurable() (flush to disk). The waiting logic was added in this commit in v3.6, to handle the waitUntilDurable() call also added in v3.6. There is no longer a waitUntilDurable() call in the code since the Replicate Before Journaling project completed.
We also need to rename the functions, etc., to better reflect that journal flushing no longer happens.
UPDATE:
This is going to be a purely non-functional change now. The performance results were not good removing the delay. See the CR for details.
- causes
-
SERVER-48240 Undo unintentional functional change to WiredTigerOplogManager that causes a performance degradation
- Closed
- is related to
-
SERVER-45025 Remove WiredTigerOplogManager thread
- Closed
- related to
-
SERVER-45810 Explore removing the WiredTigerOplogManager via refactor
- Closed