-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
Repl 2020-05-18
-
50
Currently, we would be able to take stable checkpoints when stable timestamp < initial data timestamp if the WT files needs to be downgraded on shutdown. This can result in data corruption (like SERVER-38925).
As part of this git commit hash (SERVER-47219), we moved the stable & initial data timestamp comparison check before downgrade check. Unfortunately, this fix is present only in 4.4. and not in master (> mongoDB 4.4 version). This ticket would forward port only the C++ changes (and not test changes) present in this git commit.
- related to
-
SERVER-47219 Correct downgrade_after_rollback_via_refetch to not binary downgrade on crash
- Closed
-
SERVER-38925 Rollback via refetch can cause _id duplication when enableMajorityReadConcern:false
- Closed