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.
- is documented by
-
DOCS-12220 Docs for SERVER-38066: Shell utils should open files in binary mode
- Closed
- related to
-
SERVER-38065 Disable wt_repair_corrupt_metadata on Windows build variants
- Closed