[CSHARP-4595] Support GridFS with Stable API Created: 03/Apr/23  Updated: 28/Oct/23  Resolved: 20/Apr/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.19.2

Type: New Feature Priority: Minor - P4
Reporter: Adam Harrison Assignee: James Kovacs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Case:
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

It seems that it is currently not possible to use the C# driver's GridFS features when using the Stable API configured as strict.

This is because the Stable API does not support the 'noCursorTimeout' option for the find command - an option which is always set for the GridFS find operation.

Is setting this option required for GridFS? If not, would it be possible to remove it to allow GridFS to be used when Stable API is configured in strict mode?



 Comments   
Comment by Githook User [ 18/May/23 ]

Author:

{'name': 'James Kovacs', 'email': 'jkovacs@post.harvard.edu', 'username': 'JamesKovacs'}

Message: CSHARP-4595: Support GridFS with Stable API. (#1064)
Branch: v2.19.x
https://github.com/mongodb/mongo-csharp-driver/commit/927cb085fb65c4f2a3f9690c9449fe1f8f5b610e

Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'James Kovacs', 'email': 'jkovacs@post.harvard.edu', 'username': 'JamesKovacs'}

Message: CSHARP-4595: Support GridFS with Stable API. (#1064)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/3708bb68b52572abe297367d67d2ffb22fad9171

Comment by James Kovacs [ 11/Apr/23 ]

Hi, adam.harrison@mongodb.com,

Thank you for bringing this issue to our attention. GridFS should work with Stable API and noCursorTimeout only needs to be added if it is explicitly configured. Please follow this ticket for further updates.

Sincerely,
James

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