Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
1.16.0
-
None
Description
_mongoc_gridfs_new always calls _mongoc_gridfs_ensure_index, which conflicts with the GridFS spec for Indexes.
Index should only be created before the first write operation on a bucket, and even then the driver should first check if they already exist. This avoids errors where the user has permissions to insert documents into the GridFS collections but does not have permissions to manage indexes.
Attachments
Issue Links
- is related to
-
CDRIVER-2643 Make the GridFS implementation spec compliant
-
- Closed
-
- related to
-
CDRIVER-3498 GridFS index checking should support indexes created in the shell
-
- Closed
-
- links to
- mentioned in
-
Page Loading...