Details
-
Task
-
Resolution: Unresolved
-
Critical - P2
-
None
-
None
-
None
-
None
-
Replication
-
v7.3
-
Repl 2024-01-22, Repl 2024-02-05, Repl 2024-02-19
Description
This ticket comes after the discussion in WT-12032 where it was found that the server sets the oldest ts after the stable ts by using the "force" field of the WT set_timestamp API. This is dangerous for the following reasons:
- A checkpoint happens when the ts are out of order (for instance because of background compaction), see
WT-12032. - Eviction happens when the ts are out of order which could result in data loss as update chains will pruned based on the oldest timestamp.
Goals of this ticket:
- Check if we can avoid setting the oldest timestamp greater than the stable timestamp in all cases.
- Check if we can use "force" less liberally than we currently are.
Attachments
Issue Links
- has to be done before
-
SERVER-80123 Enable background compaction by default in appropriate test suites
-
- Open
-
- is depended on by
-
SERVER-80123 Enable background compaction by default in appropriate test suites
-
- Open
-
-
SERVER-85406 Document more clearly the difference between initialDataTimestamp and oldestTimestamp
-
- Blocked
-
-
WT-12032 Investigate an out-of-order timestamp issue with the HS in MDB tests
-
- Closed
-
- is related to
-
SERVER-85688 Set stable timestamp to end of each oplog batch during startup recovery for restore
-
- Open
-
-
WT-12333 Provide mechanism to (re)set whether checkpoints should default to stable or unstable
-
- Backlog
-
-
WT-12345 Return an error when setting a timestamp to an older value
-
- In Code Review
-
- related to
-
SERVER-85688 Set stable timestamp to end of each oplog batch during startup recovery for restore
-
- Open
-
-
SERVER-85722 Investigate assumption that mongo layer always tells storage engine when to take a checkpoint
-
- Open
-
-
SERVER-82686 Investigate if we need to explicitly take a stable checkpoint at the end of magic restore
-
- Backlog
-
-
SERVER-85228 Disable auto compact temporarily
-
- Closed
-