-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
3
-
Storage Engines 2020-03-23
We recently made a change in WT-5786 to return ENOENT if we found files that are too small to contain a descriptor block in order for WiredTiger to get past rollback to stable and start properly so that MongoDB can run verify/salvage on a database.
There's been some fallout in wt_corrupt_file_errors.js since MongoDB is quite specific about what error codes it gets back from WiredTiger and reacts differently on each one. We should maybe negotiate with server to agree on what each value means, but for the time being we should mimic what we were returning before to get the patch closer to green.