Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
WT2.8.0
-
None
-
None
-
Platforms 13 (04/22/16)
Description
Check nr in the code below is POSIX read api semantics but is wrong for Windows. This causes the WIndows code to lose error information if read fails.
if (!ReadFile(fh->filehandle, addr, chunk, &nr, &overlapped))
|
WT_RET_MSG(session,
|
nr == 0 ? WT_ERROR : __wt_getlasterror(),
|
"%s: handle-read: ReadFile: failed to read %lu "
|
"bytes at offset %" PRIuMAX,
|
Attachments
Issue Links
- is depended on by
-
SERVER-23328 mongodb read error: failed to read 8589938688 bytes at offset 3739193344: WT_ERROR: non-specific WiredTiger error
-
- Closed
-