-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: GridFS
-
Environment:All
-
Fully Compatible
mongoc_gridfs_file_seek() does not load pages into the data buffer. This may be intentional because we want to only lazily load pages on demand for reads and writes, but this causes failures when seeking on a new GridFS file that hasn't been readv'd or writev'd.
A minimal example is attached.
- duplicates
-
CDRIVER-510 Fix for GridFS file seek if page == NULL
- Closed
- is depended on by
-
CDRIVER-839 Bad interpretation of GridFS "SEEK_END" mode
- Closed