-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.16.0
-
Component/s: GridFS
-
None
_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.
- 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...