Major - P3
StorEng - Refinement Pipeline
**WiredTiger backup doesn't contain the WiredTiger.turtle file to identify the source of the backup.
Does this affect any team outside of WT?
How likely is it that this use case or problem will occur?
As part of the recent
WT-8395, WiredTiger detects the corresponding database files versions and don't perform the RTS using the checkpoint snapshot, but it cannot perform the same with backup restore recovery.
If the problem does occur, what are the consequences and how severe are they?
It can't cause any problems other than MongoDB versions 4.4.2 to 4.4.4
Is this issue urgent?
Acceptance Criteria (Definition of Done)
- Design and get an agreement after designing the solution
- Implement: Store the WiredTiger version either the WiredTiger.wt metadata file or copy the WiredTiger.turtle file along with the backup files.
Currently, there are no uses with the saved WiredTiger version information in the backup. It is not possible to write an automated test against the change.
I prefer a solution of saving the WiredTiger version in the WiredTiger metadata every time when the checkpoint happens. This information is automatically copied into the backup.
- related to
WT-8534 Allow retrieving checkpoint snapshot for backup restore recovery