The shell helpers for reading files, cat(), and writing files, writeFile() do not open files in binary mode, ios::binary. On Windows, this results in \n characters being translated as \r\n.
If the WiredTiger.turtle file is opened with cat() and written with writeFile(), WiredTiger will be unable to read it because it does not recognize \r characters.
- related to
-
SERVER-38065 Disable wt_repair_corrupt_metadata on Windows build variants
- Closed