-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication, Storage
-
None
-
Fully Compatible
-
Execution Team 2020-02-10, Execution Team 2020-02-24
-
0
Allow specifying a minimum retention time for the oplog in addition to a maximum size. Oplog entries are only deleted if they both exceed the size cap and the minimum retention time.
The retention time is specified in hours, allowing fractions. The default is 0 hours (feature is off).
Use the ReplicationCoordinator::getLastAppliedOpTime() as proxy for "now" and the timestamp derived from Stone::lastRecord as the most recent timestamp in the next oplog range to truncate.
- is duplicated by
-
SERVER-41381 Expire oplog entries by time instead of as a capped collection
- Closed
-
SERVER-45976 Add a new replication.oplogMinRetentionHours configuration file option
- Closed