[CDRIVER-895] Review GridFS errno behavior/documentation Created: 30/Sep/15  Updated: 28/Mar/17  Resolved: 08/Oct/15

Status: Closed
Project: C Driver
Component/s: GridFS
Affects Version/s: 1.1.11
Fix Version/s: 1.3.0-beta0

Type: Improvement Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Done Votes: 0
Labels: gridfs
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All


Issue Links:
Related
related to CDRIVER-869 Driver should check for missing GridF... Closed
is related to CDRIVER-852 Document that timeout_msec is unused ... Closed
is related to CDRIVER-2006 mongoc_gridfs_find_one_with_opts(): t... Closed
is related to CDRIVER-2002 Given mongoc_gridfs_file_readv() retu... Closed

 Description   

In the GridFS implementation, we should review how and when errno is set, as well as what promises we have made regarding errno in the public documentation.



 Comments   
Comment by Kyle Suarez [ 08/Oct/15 ]

I'm going to close this for now, as the only discrepancy between the published documentation and the actual behavior is that ETIMEDOUT is not set when a timeout occurs on read and write. This will be resolved in CDRIVER-852.

We can re-open this in the future when we begin working towards fulfilling the GridFS specification and find that our error handling is inadequate.

Generated at Wed Feb 07 21:10:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.