-
Type: Technical Debt
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Now that files include their metadata, it would be possible to restore missing objects based on their source objects.
So, we could re-create the WiredTiger.turtle file by scanning the WiredTiger.wt file for the relevant metadata and final checkpoint.
Further, we could re-create the WiredTiger.wt file by scanning the source files in the database. This step would require additional information: we wouldn't know how those files are related, for example, the relationships between indexes and collections would be unknown after that recovery.